-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
47 lines (47 loc) · 1.06 KB
/
.eslintrc.json
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
{
"plugins": ["lodash", "filenames", "prettier"],
"extends": [
"standard",
"standard-react",
"plugin:lodash/recommended",
"prettier"
],
"env": {
"es6": true,
"browser": true,
"node": true,
"jest": true
},
"globals": {
"__DEV__": true,
"fetch": true
},
"rules": {
"prettier/prettier": [
"error",
{
"arrowParens": "avoid",
"bracketSpacing": false,
"jsxBracketSameLine": true,
"parser": "babylon",
"printWidth": 85,
"rcVerbose": true,
"semi": false,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
}
],
"filenames/match-exported": "error",
"lodash/import-scope": "off",
"lodash/prefer-lodash-method": "off",
"lodash/prefer-constant": "off",
"lodash/prefer-lodash-chain": "off",
"lodash/path-style": ["error", "as-needed"],
"react/sort-prop-types": "error",
"promise/prefer-await-to-then": "error",
"prefer-const": "error"
},
"parser": "babel-eslint"
}