-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
44 lines (42 loc) · 1.05 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
{
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": false,
"codeFrame": false
},
"extends": [
"airbnb",
"prettier"
],
"env": {
"browser": true,
"jest": true
},
"rules": {
"react/prop-types": ["off"],
"react/jsx-filename-extension": ["off"],
"react/jsx-closing-bracket-location": ["off"],
"react/jsx-props-no-spreading": ["off"],
"react/jsx-tag-spacing": "error",
"max-len": ["warn", {"code": 100}],
"no-return-assign": ["off"],
"prefer-promise-reject-errors": ["off"],
"jsx-quotes": ["error", "prefer-single"],
"import/prefer-default-export": ["off"],
"indent": "warn",
"no-unused-vars": "warn",
"no-param-reassign": "warn",
"no-async-promise-executor": "warn",
"import/no-extraneous-dependencies": "warn",
"import/no-unresolved": "off",
"object-curly-spacing": ["warn", "always"]
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}