gecko-dev/.eslintrc.js
Kit Cambridge 049be95daa Bug 1322954 - Replace deprecated no-negated-in-lhs ESLint option with no-unsafe-negation. r=markh
MozReview-Commit-ID: 3PnGSH0wzyi

--HG--
extra : rebase_source : 01b32c646bf67e7578253b6d4d8b355a59a8a44e
2016-12-11 20:53:18 -08:00

21 lines
378 B
JavaScript

"use strict";
module.exports = {
// When adding items to this file please check for effects on sub-directories.
"plugins": [
"mozilla"
],
"rules": {
"mozilla/import-globals": "warn",
// No (!foo in bar) or (!object instanceof Class)
"no-unsafe-negation": "error",
},
"env": {
"es6": true
},
"parserOptions": {
"ecmaVersion": 8,
},
};