Lyubo Marinov
eb0ae19d0f
[eslint] block-spacing
8年前
Lyubo Marinov
4581605a28
[eslint] newline-after-var, newline-before-return, newline-per-chained-call
8年前
Lyubo Marinov
110fe997b6
[eslint] no-continue
8年前
Lyubo Marinov
13bfa61028
[eslint] prefer-arrow-callback
8年前
Lyubo Marinov
c991abf9ef
[eslint] prefer-template
8年前
Lyubo Marinov
5bff0ed543
[eslint] no-var
8年前
hristoterezov
e4352d2188
fix(eslint): Add no-else-return rule
8年前
hristoterezov
99d121e906
fix(eslint): Add guard-for-in rule
8年前
Lyubo Marinov
4293971466
[eslint] operator-linebreak
8年前
Lyubo Marinov
ed0d464392
[eslint] quotes
8年前
Lyubo Marinov
b5b0e95b4e
[eslint] sort-vars
8年前
Lyubo Marinov
f8ab8015a2
[eslint] space-before-blocks
8年前
Lyubo Marinov
78217478d1
[eslint] space-before-function-paren
8年前
Lyubo Marinov
324afc0caf
[eslint] space-infix-ops
8年前
Lyubo Marinov
14147059b3
[eslint] spaced-comment
8年前
hristoterezov
c96898c478
fix(eslint): Add no-multi-spaces rule
8年前
hristoterezov
3e44723582
fix(eslint): Add indent rule
8年前
hristoterezov
f02a22d3f9
fix(eslint): Add brace-style rule
8年前
hristoterezov
c36b464bfc
fix(eslint): Add curly rule
8年前
Lyubo Marinov
596767d57e
[eslint] object-shorthand
8年前
hristoterezov
fceb8606d8
fix(eslint): Add no-extra-parens rule
8年前
hristoterezov
cefc270807
fix(electron): statistics
8年前
hristoterezov
14053f3b83
refactor(statistics): Remove unused code
8年前
Boris Grozev
62276e5456
cleanup: Removes mode unused code.
8年前
Boris Grozev
b99136f199
cleanup: Renames a confusingly named class.
8年前
Boris Grozev
c6c71c59f6
cleanup: Renames a confusingly named variable.
8年前
Boris Grozev
d37a86e97d
cleanup: Renames a confuingly named function, and fixes its documentation.
8年前
Boris Grozev
a601ec1e4a
cleanup: Renames a confusingly named function.
8年前
Boris Grozev
e44394b476
cleanup: Renames a confusingle named function.
8年前
Boris Grozev
a60b9aa0cb
cleanup: Renames a confusingly named variable and corrects the documentation.
8年前
Boris Grozev
9dffaec727
docs: Fixes documentation.
8年前
Boris Grozev
7e7ee9f7b7
cleanup: Renames a confusingly named field.
8年前
Boris Grozev
f05c85b52d
cleanup: Removes an unnecessary variable.
8年前
Boris Grozev
de3596c2a0
cleanup: Renames a confusingly named field.
8年前
Boris Grozev
01e4324109
cleanup: Removes unused code.
8年前
Boris Grozev
24a2d6548e
cleanup: Renames a confusingly named field.
8年前
Boris Grozev
54a1409554
cleanup: Simplifies code and documents the units.
8年前
Boris Grozev
26e5ddcdcd
cleanup: Simplifies code.
8年前
Boris Grozev
26c320b0c1
fix: Don't deliberately lose time resolution.
8年前
Boris Grozev
5c6b1f6b2c
cleanup: Simplifies code.
8年前
Boris Grozev
6af25ab09e
cleanup: Uses a helper function.
8年前
Boris Grozev
691513de98
cleanup: Renames a confusingly named variable.
8年前
Boris Grozev
2d11371b47
cleanup: Remove an unnecessary variable.
8年前
Boris Grozev
0e99267fe3
cleanup: Renames a confusingly named variable.
8年前
Boris Grozev
566284b07f
cleanup: Renames a confusingly named variable.
8年前
Boris Grozev
f9e6bb30bf
cleanup: Renames a confusingly named variable.
8年前
Boris Grozev
80a9d1cfad
cleanup: Renames a confusingly named variable.
8年前
Boris Grozev
3177ddad44
cleanup: Remove a warning log message.
8年前
hristoterezov
14ad15d956
refactor(audio_problem): Remove audio problem detection
8年前
Lyubomir Marinov
90ee7e8a54
ESLint
Our JSHint configuration is not extensive and we have excluded multiple
files from linting. Additionally, we have seen JSHint to be unable to
parse newer ECMAScript features such as the object spread operator
(proposal).
On the other hand, we have seen ESLint to beautifully work on React and
React Native source code in addition to ES2015 and later. Introduce
ESLint alongside JSHint as an intermediate step to eventually switching
from JSHint to ESLint.
As our source code does not fully follow even the JSHint rules we have,
it is very difficult to introduce ESLint with many rules. At the
beginning, introduce it with as little rules as possible. Morever,
ESLint is able to automatically fix certain rule offenders so once we
have ESLint merged we can incrementally add new rules while keeping our
commits' modification on as little subjects as possible.
8年前