forked from night/betterttv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
43 lines (43 loc) · 1.03 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
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"parser": "@babel/eslint-parser",
"parserOptions": {
"sourceType": "module",
"requireConfigFile": false,
"allowImportExportEverywhere": true,
"babelOptions": {
"presets": ["@babel/preset-react"]
}
},
"extends": ["airbnb", "prettier"],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": ["error"],
"import/extensions": ["error", "ignorePackages"],
"react/prop-types": "off",
"react/jsx-props-no-spreading": "off",
"no-param-reassign": "off",
"no-underscore-dangle": "off",
"no-continue": "off",
"no-restricted-syntax": "off",
"class-methods-use-this": "off",
"no-plusplus": "off",
"no-empty": "off",
"max-classes-per-file": "off",
"no-bitwise": "off",
"import/order": [
"error",
{
"groups": ["builtin", "external", "parent", "sibling", "index"],
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
]
}
}