-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc.json
35 lines (35 loc) · 1012 Bytes
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"env": {
"browser": true,
"es6": true,
"webextensions": true,
"node": true,
"mocha": true
},
"extends": [
"eslint:recommended"
],
"rules": {
"no-console": "off",
"no-unused-vars": ["error", {"argsIgnorePattern": "_"}],
"semi": ["error", "always"],
"indent": ["error", 4, {"SwitchCase": 1}],
"eol-last": "error",
"quotes": ["error", "double", {"allowTemplateLiterals": true}],
"function-paren-newline": ["error"],
"max-len": ["error", {
"ignoreStrings": true,
"code": 100,
"ignoreTemplateLiterals": true
}],
"prefer-const": "error",
"no-template-curly-in-string": "error",
"no-unused-expressions": "error",
"no-trailing-spaces": "error",
"padded-blocks": ["error", "never"],
"comma-dangle": ["error", "always-multiline"]
},
"parserOptions": {
"ecmaVersion": 2017
}
}