-
Notifications
You must be signed in to change notification settings - Fork 30
/
.eslintrc
32 lines (32 loc) · 893 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
{
"extends": "airbnb",
"env": {
"browser": true,
"node": true
},
"parser": "babel-eslint",
"plugins": [
"react"
],
"rules": {
"comma-dangle": "off",
"react/jsx-filename-extension": "off",
"import/no-extraneous-dependencies": ["off", {"devDependencies": false, "optionalDependencies": false, "peerDependencies": false}],
"import/no-unresolved": "off",
"object-shorthand": "warn",
"import/extensions": "warn",
"react/prefer-es6-class": "warn",
"react/prefer-stateless-function": "warn",
"no-use-before-define": "off",
"react/jsx-no-bind": "warn",
"react/no-multi-comp": "warn",
"react/prop-types": "warn",
"no-unused-vars": "warn",
"object-curly-spacing": "warn",
"semi": "warn",
"arrow-parens": "warn",
"arrow-body-style": "warn",
"global-require": "off",
"jsx-a11y/href-no-hash": "off"
}
}