2017-10-22 05:40:39 +00:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es6": true,
|
|
|
|
"webextensions": true,
|
|
|
|
"node": true,
|
|
|
|
"mocha": true
|
|
|
|
},
|
|
|
|
"extends": [
|
2017-10-23 08:29:59 +00:00
|
|
|
"eslint:recommended"
|
2017-10-22 05:40:39 +00:00
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"no-console": "off",
|
2017-10-22 07:07:22 +00:00
|
|
|
"no-unused-vars": ["error", {"varsIgnorePattern": "ignore"}],
|
2017-10-23 08:29:59 +00:00
|
|
|
"semi": ["error", "always"],
|
|
|
|
"indent": ["error", 4],
|
|
|
|
"eol-last": "error",
|
|
|
|
"quotes": ["error", "double"],
|
|
|
|
"comma-dangle": ["error", "only-multiline"],
|
|
|
|
"function-paren-newline": ["error"],
|
|
|
|
"max-len": ["error", {"ignoreStrings": true, "code": 100}],
|
|
|
|
"require-jsdoc": "error",
|
|
|
|
"valid-jsdoc": "error",
|
|
|
|
"prefer-const": "error",
|
|
|
|
"no-template-curly-in-string": "error",
|
|
|
|
"no-unused-expressions": "error"
|
2017-10-22 05:40:39 +00:00
|
|
|
}
|
|
|
|
}
|