Name Description Size
browser-test.mjs 1902
chrome-test.mjs 955
general-test.mjs 1660
mochitest-test.mjs 1058
recommended.mjs The configuration is based on eslint:recommended config. It defines the recommended rules for all files, as well as for rules relating to modules and other module like files. The configuration intentionally does not specify the globals for the majority of files. The globals will only be specified for Mozilla specific files (e.g. system modules). The subscriber to this configuration is expect to include the correct globals that they require in their project. The details for all the ESLint rules, and which ones are in the ESLint 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. 11813
require-jsdoc.mjs 1247
valid-jsdoc.mjs 1165
xpcshell-test.mjs 693