You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
1.5 KiB
JSON
71 lines
1.5 KiB
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true
|
|
},
|
|
"extends": [
|
|
"airbnb-base"
|
|
],
|
|
"globals": {
|
|
"ChromeUtils": "readonly",
|
|
"Components": "readonly",
|
|
"Ci": "readonly",
|
|
"Cc": "readonly",
|
|
"Cr": "readonly",
|
|
"Cu": "readonly"
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018
|
|
},
|
|
"rules": {
|
|
"indent": [
|
|
"error",
|
|
2,
|
|
{
|
|
"SwitchCase": 1
|
|
}
|
|
],
|
|
"max-len": [
|
|
"error",
|
|
{
|
|
"code": 130,
|
|
"tabWidth": 2
|
|
}
|
|
],
|
|
"quotes": [
|
|
"warn", "double"
|
|
],
|
|
"operator-linebreak": [
|
|
2, "after", {
|
|
"overrides": { "?": "before", ":": "before" }
|
|
}
|
|
],
|
|
"comment: the following all come from airbnb-base, let's leave them off": "off",
|
|
"array-callback-return": "off",
|
|
"camelcase": "off",
|
|
"class-methods-use-this": "off",
|
|
"eqeqeq": "off",
|
|
"guard-for-in": "off",
|
|
"max-classes-per-file": "off",
|
|
"new-cap": "off",
|
|
"no-bitwise": "off",
|
|
"no-console": "off",
|
|
"no-continue": "off",
|
|
"no-empty": "off",
|
|
"no-multi-spaces": "off",
|
|
"no-param-reassign": "off",
|
|
"no-plusplus": "off",
|
|
"no-prototype-builtins": "off",
|
|
"no-restricted-syntax": "off",
|
|
"no-underscore-dangle": "off",
|
|
"no-unused-expressions": "off",
|
|
"no-use-before-define": "off",
|
|
"no-var": "off",
|
|
"prefer-const": "off",
|
|
"prefer-destructuring": "off",
|
|
|
|
"comment: will need to look at the following one-by-one": "off",
|
|
"no-unused-vars": "off"
|
|
}
|
|
}
|