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
пре 9 година
Boris Grozev
62276e5456
cleanup: Removes mode unused code.
пре 9 година
Boris Grozev
b99136f199
cleanup: Renames a confusingly named class.
пре 9 година
Boris Grozev
c6c71c59f6
cleanup: Renames a confusingly named variable.
пре 9 година
Boris Grozev
d37a86e97d
cleanup: Renames a confuingly named function, and fixes its documentation.
пре 9 година
Boris Grozev
a601ec1e4a
cleanup: Renames a confusingly named function.
пре 9 година
Boris Grozev
e44394b476
cleanup: Renames a confusingle named function.
пре 9 година
Boris Grozev
a60b9aa0cb
cleanup: Renames a confusingly named variable and corrects the documentation.
пре 9 година
Boris Grozev
9dffaec727
docs: Fixes documentation.
пре 9 година
Boris Grozev
7e7ee9f7b7
cleanup: Renames a confusingly named field.
пре 9 година
Boris Grozev
f05c85b52d
cleanup: Removes an unnecessary variable.
пре 9 година
Boris Grozev
de3596c2a0
cleanup: Renames a confusingly named field.
пре 9 година
Boris Grozev
01e4324109
cleanup: Removes unused code.
пре 9 година
Boris Grozev
24a2d6548e
cleanup: Renames a confusingly named field.
пре 9 година
Boris Grozev
54a1409554
cleanup: Simplifies code and documents the units.
пре 9 година
Boris Grozev
26e5ddcdcd
cleanup: Simplifies code.
пре 9 година
Boris Grozev
26c320b0c1
fix: Don't deliberately lose time resolution.
пре 9 година
Boris Grozev
5c6b1f6b2c
cleanup: Simplifies code.
пре 9 година
Boris Grozev
6af25ab09e
cleanup: Uses a helper function.
пре 9 година
Boris Grozev
691513de98
cleanup: Renames a confusingly named variable.
пре 9 година
Boris Grozev
2d11371b47
cleanup: Remove an unnecessary variable.
пре 9 година
Boris Grozev
0e99267fe3
cleanup: Renames a confusingly named variable.
пре 9 година
Boris Grozev
566284b07f
cleanup: Renames a confusingly named variable.
пре 9 година
Boris Grozev
f9e6bb30bf
cleanup: Renames a confusingly named variable.
пре 9 година
Boris Grozev
80a9d1cfad
cleanup: Renames a confusingly named variable.
пре 9 година
Boris Grozev
3177ddad44
cleanup: Remove a warning log message.
пре 9 година
hristoterezov
14ad15d956
refactor(audio_problem): Remove audio problem detection
пре 9 година
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.
пре 9 година
Lyubomir Marinov
39488195d5
Add jsdocs
пре 9 година
Lyubomir Marinov
dee489bca4
Add jsdocs
пре 9 година
damencho
e591e6b9bf
Updates rtp stats to work with nwjs.
пре 9 година
Lyubomir Marinov
a08ec825c8
Use ES6
пре 9 година