mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
7f569f1c3b
MozReview-Commit-ID: 9LCLDppVj1t --HG-- extra : rebase_source : 5e93113ce588f9c50fff55099b27489806158b6c
17 lines
486 B
JavaScript
17 lines
486 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",
|
|
"no-unexpected-multiline": "off",
|
|
"no-unsafe-finally": "off",
|
|
"no-useless-call": "off",
|
|
}
|
|
};
|