mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 19:55:39 +00:00
4f8c0ecb0f
MozReview-Commit-ID: 5IFF4IPpPVY --HG-- extra : rebase_source : 69ec5e1ae3333c42cfc00dc47bb09d910ba07409
25 lines
679 B
JavaScript
25 lines
679 B
JavaScript
"use strict";
|
|
|
|
module.exports = {
|
|
rules: {
|
|
// XXX Bug 1358949 - This should be reduced down - probably to 20 or to
|
|
// be removed & synced with the mozilla/recommended value.
|
|
"complexity": ["error", 31],
|
|
|
|
// Rules enabled in mozilla/recommended, and disabled for now, we should
|
|
// re-enable these over time.
|
|
"consistent-return": "off",
|
|
"no-empty": "off",
|
|
"no-native-reassign": "off",
|
|
"no-nested-ternary": "off",
|
|
"no-new-object": "off",
|
|
"no-octal": "off",
|
|
"no-redeclare": "off",
|
|
"no-useless-call": "off",
|
|
"no-useless-concat": "off",
|
|
"no-undef": "off",
|
|
"no-unused-vars": "off",
|
|
"object-shorthand": "off",
|
|
}
|
|
};
|