forked from jeff-zucker/solid-file-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
49 lines (49 loc) · 1.12 KB
/
.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"parser": "babel-eslint",
"extends": [
"airbnb",
"plugin:flowtype/recommended",
"plugin:jest/recommended",
"prettier",
"prettier/flowtype",
"prettier/standard"
],
"plugins": ["flowtype", "prettier", "jest", "html"],
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"es6": true,
"node": true,
"browser": true,
"jest/globals": true
},
"globals": {
"fetch": true
},
"rules": {
"linebreak-style": 0,
"comma-dangle": 1,
"arrow-parens": ["off"],
"consistent-return": "off",
"no-underscore-dangle": "off",
"no-unused-expressions": "off",
"flowtype/define-flow-type": 1,
"flowtype/use-flow-type": 1,
"generator-star-spacing": "off",
"import/no-unresolved": "error",
"import/no-extraneous-dependencies": "off",
"no-console": "off",
"promise/no-native": "off",
"no-loop-func": "off",
"guard-for-in": "off",
"no-continue": "off",
"no-param-reassign": "off",
"no-restricted-syntax": "off",
"no-undef": ["error", { "typeof": false }],
"max-len": "off"
}
}