Lyubo Marinov
4581605a28
[eslint] newline-after-var, newline-before-return, newline-per-chained-call
před 8 roky
Lyubo Marinov
110fe997b6
[eslint] no-continue
před 8 roky
Lyubo Marinov
13bfa61028
[eslint] prefer-arrow-callback
před 8 roky
Lyubo Marinov
c991abf9ef
[eslint] prefer-template
před 8 roky
Lyubo Marinov
5bff0ed543
[eslint] no-var
před 8 roky
hristoterezov
e4352d2188
fix(eslint): Add no-else-return rule
před 8 roky
hristoterezov
99d121e906
fix(eslint): Add guard-for-in rule
před 8 roky
Lyubo Marinov
4293971466
[eslint] operator-linebreak
před 8 roky
Lyubo Marinov
ed0d464392
[eslint] quotes
před 8 roky
Lyubo Marinov
b5b0e95b4e
[eslint] sort-vars
před 8 roky
Lyubo Marinov
f8ab8015a2
[eslint] space-before-blocks
před 8 roky
Lyubo Marinov
78217478d1
[eslint] space-before-function-paren
před 8 roky
Lyubo Marinov
324afc0caf
[eslint] space-infix-ops
před 8 roky
Lyubo Marinov
14147059b3
[eslint] spaced-comment
před 8 roky
hristoterezov
c96898c478
fix(eslint): Add no-multi-spaces rule
před 8 roky
hristoterezov
3e44723582
fix(eslint): Add indent rule
před 8 roky
hristoterezov
f02a22d3f9
fix(eslint): Add brace-style rule
před 8 roky
hristoterezov
c36b464bfc
fix(eslint): Add curly rule
před 8 roky
Lyubo Marinov
596767d57e
[eslint] object-shorthand
před 8 roky
hristoterezov
fceb8606d8
fix(eslint): Add no-extra-parens rule
před 8 roky
hristoterezov
cefc270807
fix(electron): statistics
před 9 roky
hristoterezov
14053f3b83
refactor(statistics): Remove unused code
před 9 roky
Boris Grozev
62276e5456
cleanup: Removes mode unused code.
před 9 roky
Boris Grozev
b99136f199
cleanup: Renames a confusingly named class.
před 9 roky
Boris Grozev
c6c71c59f6
cleanup: Renames a confusingly named variable.
před 9 roky
Boris Grozev
d37a86e97d
cleanup: Renames a confuingly named function, and fixes its documentation.
před 9 roky
Boris Grozev
a601ec1e4a
cleanup: Renames a confusingly named function.
před 9 roky
Boris Grozev
e44394b476
cleanup: Renames a confusingle named function.
před 9 roky
Boris Grozev
a60b9aa0cb
cleanup: Renames a confusingly named variable and corrects the documentation.
před 9 roky
Boris Grozev
9dffaec727
docs: Fixes documentation.
před 9 roky
Boris Grozev
7e7ee9f7b7
cleanup: Renames a confusingly named field.
před 9 roky
Boris Grozev
f05c85b52d
cleanup: Removes an unnecessary variable.
před 9 roky
Boris Grozev
de3596c2a0
cleanup: Renames a confusingly named field.
před 9 roky
Boris Grozev
01e4324109
cleanup: Removes unused code.
před 9 roky
Boris Grozev
24a2d6548e
cleanup: Renames a confusingly named field.
před 9 roky
Boris Grozev
54a1409554
cleanup: Simplifies code and documents the units.
před 9 roky
Boris Grozev
26e5ddcdcd
cleanup: Simplifies code.
před 9 roky
Boris Grozev
26c320b0c1
fix: Don't deliberately lose time resolution.
před 9 roky
Boris Grozev
5c6b1f6b2c
cleanup: Simplifies code.
před 9 roky
Boris Grozev
6af25ab09e
cleanup: Uses a helper function.
před 9 roky
Boris Grozev
691513de98
cleanup: Renames a confusingly named variable.
před 9 roky
Boris Grozev
2d11371b47
cleanup: Remove an unnecessary variable.
před 9 roky
Boris Grozev
0e99267fe3
cleanup: Renames a confusingly named variable.
před 9 roky
Boris Grozev
566284b07f
cleanup: Renames a confusingly named variable.
před 9 roky
Boris Grozev
f9e6bb30bf
cleanup: Renames a confusingly named variable.
před 9 roky
Boris Grozev
80a9d1cfad
cleanup: Renames a confusingly named variable.
před 9 roky
Boris Grozev
3177ddad44
cleanup: Remove a warning log message.
před 9 roky
hristoterezov
14ad15d956
refactor(audio_problem): Remove audio problem detection
před 9 roky
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.
před 9 roky
Lyubomir Marinov
39488195d5
Add jsdocs
před 9 roky