-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
35 lines (35 loc) · 1015 Bytes
/
.eslintrc
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
{
// enable airbnb eslint from https://www.npmjs.com/package/eslint-config-airbnb
"extends": "airbnb",
"rules": {
"consistent-return": [0, { "treatUndefinedAsUnspecified": true }],
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}],
"no-multi-assign": "off",
"no-console": "off",
"no-plusplus": "off",
"camelcase": "off",
"comma-dangle": "off",
"prefer-template": "off",
"object-curly-newline": "off",
"no-restricted-globals": "off", // WTF? `self` should be fine
"quotes": [ "error", "single", { "allowTemplateLiterals": true}],
"arrow-body-style": "off",
"import/no-unresolved": "off",
"no-param-reassign": "off",
"max-len": [2, 120, 2]
},
"env": {
"browser": true,
"node": true,
"worker": true
},
"globals": {
"it": "readonly",
"describe": "readonly"
},
"settings" : {
"react": {
"version": "999.999.999"
}
}
}