-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
38 lines (38 loc) · 996 Bytes
/
.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
{
"parser": "babel-eslint",
"extends": ["airbnb", "prettier"],
"plugins": ["prettier"],
"rules": {
"indent": [0, 2, { "SwitchCase": 4 }],
"react/jsx-indent": [0, 2, { "SwitchCase": 4 }],
"react/jsx-indent-props": [0, 2],
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"react/prefer-stateless-function": 0,
"react/jsx-filename-extension": 0,
"react/no-unescaped-entities": ["error", { "forbid": [] }],
"react/jsx-closing-bracket-location": [0, {"selfClosing": "after-props"}],
"no-nested-ternary": 0,
"no-console": "off",
"prettier/prettier": [
"error",
{
"singleQuote": true,
"tabWidth": 4,
"jsxBracketSameLine": true,
"printWidth": 100
}
]
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"settings": {
"import/resolver": {
"node": {
"paths": ["src", "./resources/assets/js", "node_modules"]
}
}
}
}