mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
26 lines
615 B
JavaScript
26 lines
615 B
JavaScript
"use strict";
|
|
|
|
module.exports = {
|
|
// When adding items to this file please check for effects on sub-directories.
|
|
"plugins": [
|
|
"mozilla"
|
|
],
|
|
"rules": {
|
|
"mozilla/avoid-removeChild": "error",
|
|
"mozilla/import-globals": "warn",
|
|
"mozilla/no-import-into-var-and-global": "error",
|
|
"mozilla/no-useless-parameters": "error",
|
|
"mozilla/no-useless-removeEventListener": "error",
|
|
"mozilla/use-ownerGlobal": "error",
|
|
|
|
// No (!foo in bar) or (!object instanceof Class)
|
|
"no-unsafe-negation": "error",
|
|
},
|
|
"env": {
|
|
"es6": true
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 8,
|
|
},
|
|
};
|