mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 11:58:55 +00:00

MozReview-Commit-ID: DeVusjK4kt0 --HG-- extra : rebase_source : 67dfeb6c82792ad453dfe72e74dbc8f430877649
18 lines
517 B
JavaScript
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",
|
|
}
|
|
};
|