-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
41 lines (41 loc) · 1015 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
39
40
41
{
"extends": ["airbnb", "prettier", "prettier/react"],
"rules": {
"react/jsx-filename-extension": [
"error",
{ "extensions": [".js", ".jsx"] }
],
"react/react-in-jsx-scope": 0,
"react/require-default-props": 0,
"react/forbid-prop-types": 1,
"react/prefer-stateless-function": 1,
"jsx-a11y/anchor-is-valid": 0,
"arrow-body-style": 0,
"no-shadow": 0,
"consistent-return": 0,
"no-console": 1,
"no-case-declarations": 0,
"import/prefer-default-export": 0,
"linebreak-style":[0, "error", "windows"]
},
"settings": {
"import/core-modules": ["react", "prop-types"]
},
"globals": {
"graphql": false
},
"plugins": ["prettier"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"es6": true,
"browser": true,
"node": true
}
}