-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc
51 lines (51 loc) · 1.31 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
50
51
{
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"parser": "babel-eslint",
"extends": ["airbnb/base", "plugin:flowtype/recommended"],
"env": {
"browser": true,
"jest/globals": true
},
"rules": {
"import/no-unresolved": "off",
"import/no-extraneous-dependencies": "off",
"import/extensions": [1, "never"],
"arrow-parens": ["error", "as-needed"],
"no-underscore-dangle": "off",
"eqeqeq": "off",
"no-param-reassign": "off",
"class-method-use-this": "off",
"no-restricted-syntax": "off",
"no-prototype-builtins": "off",
"no-console": "off",
"no-use-before-define": "off",
"no-unused-vars": ["error", { "varsIgnorePattern": "React" }],
"camelcase": "off",
"class-methods-use-this": "off",
"flowtype/space-before-type-colon": "off",
"flowtype/generic-spacing": "off",
"import/prefer-default-export": "off",
"arrow-body-style": "off",
"no-plusplus": "off",
"no-confusing-arrow": "off",
"indent": "off",
"comma-dangle": ["error", "only-multiline"],
"global-require": "off",
"new-parens": "off"
},
"plugins": [
"flowtype",
"jest"
],
"settings": {
"flowtype": {
"onlyFilesWithFlowAnnotation": true
}
}
}