forked from LauraDenney/godirect-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
51 lines (51 loc) · 1.46 KB
/
.eslintrc.js
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
module.exports = {
"extends": [
"airbnb-base",
"plugin:jest/recommended"
],
"plugins": [
"jest"
],
"env": {
"browser": true,
"node": true
},
"rules": {
"linebreak-style": "off",
"no-prototype-builtins": "off",
"global-require": "off",
"import/no-extraneous-dependencies": "off",
"import/prefer-default-export": "off",
"import/no-unresolved": "off",
"import/extensions": "off",
"max-len": "off",
"quotes": ["error", "single", { "allowTemplateLiterals": true }],
"no-plusplus": "off",
"no-underscore-dangle": "off",
"comma-dangle": ["error", {
"arrays": "ignore",
"objects": "ignore",
"imports": "never",
"exports": "never",
"functions": "ignore"
}],
"spaced-comment": ["warn", "always", {
"exceptions": ["/","+","-"]
}],
"no-console": "off",
"no-debugger": "warn",
"space-before-function-paren": "off",
"no-multi-spaces": ["warn", {
exceptions: {
"VariableDeclarator": true,
"Property": true
}
}],
"quote-props": ["error", "as-needed", { "keywords": true, "unnecessary": false }],
"no-param-reassign": "off",
"radix": "off",
"no-shadow": "off",
"arrow-body-style": "off",
"class-methods-use-this": "off" // turning this off because of declarative bindings in Polymer these are used a lot
}
};