gecko-dev/accessible/.eslintrc.js
Dan Banner 3e7397ae81 Bug 1385817 - Enable brace-style and no-else-return ESLint rules for accessible/ r=yzen
MozReview-Commit-ID: DeVusjK4kt0

--HG--
extra : rebase_source : 67dfeb6c82792ad453dfe72e74dbc8f430877649
2017-08-01 19:08:02 +01:00

18 lines
517 B
JavaScript

"use strict";
module.exports = {
"rules": {
// Warn about cyclomatic complexity in functions.
"complexity": ["error", 42],
// XXX These are rules that are enabled in the recommended configuration, but
// disabled here due to failures when initially implemented. They should be
// removed (and hence enabled) at some stage.
"consistent-return": "off",
"object-shorthand": "off",
"no-unexpected-multiline": "off",
"no-unsafe-finally": "off",
"no-useless-call": "off",
}
};