-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
27 lines (27 loc) · 1016 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"plugins": [
"react"
],
"env": {
"browser": true
},
"rules": {
"indent": ["error", 4, { "SwitchCase": 1, "MemberExpression": 1 }],
"semi": ["error", "never"],
"max-len": ["error", {"code": 80, "ignoreUrls": true, "ignoreStrings": true, "ignoreComments": true}],
"global-require": ["off"],
"brace-style": ["error", "stroustrup", { "allowSingleLine": true }],
"no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": true }],
"strict": ["off"],
"import/no-unresolved": ["error", { "ignore": [ "project_" ] }],
"import/prefer-default-export": ["off"],
"react/jsx-filename-extension": ["error", { "extensions": [".js", ".jsx"] }],
"react/no-string-refs": ["off"],
"react/jsx-indent": ["error", 4],
"react/jsx-indent-props": ["error", 4],
"react/require-default-props": ["off"],
"react/prefer-stateless-function": ["error", { "ignorePureComponents": true }]
}
}