зеркало из https://github.com/mozilla/gecko-dev.git
22 строки
432 B
JavaScript
22 строки
432 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",
|
|
"mozilla/no-import-into-var-and-global": "error",
|
|
|
|
// No (!foo in bar) or (!object instanceof Class)
|
|
"no-unsafe-negation": "error",
|
|
},
|
|
"env": {
|
|
"es6": true
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 8,
|
|
},
|
|
};
|