.eslintrc.js |
|
120 |
browser-test.js |
|
3070 |
chrome-test.js |
|
1964 |
general-test.js |
|
506 |
mochitest-test.js |
|
2170 |
recommended.js |
The configuration is based on eslint:recommended config. The details for all
the ESLint rules, and which ones are in the recommended configuration can
be found here:
https://eslint.org/docs/rules/
Rules that we've explicitly decided not to enable:
require-await - bug 1381030.
no-prototype-builtins - bug 1551829.
require-atomic-updates - bug 1551829.
- This generates too many false positives that are not easy to work
around, and false positives seem to be inherent in the rule.
no-inner-declarations - bug 1487642.
- Would be interested if this could apply to just vars, but at the moment
it doesn't.
max-depth
- Don't enforce the maximum depth that blocks can be nested. The
complexity rule is a better rule to check this.
no-useless-escape - bug 1881262.
- This doesn't reveal any actual errors, and is a lot of work to address.
|
11663 |
require-jsdoc.js |
|
1276 |
valid-jsdoc.js |
|
1139 |
xpcshell-test.js |
|
1870 |