forked from gvaldambrini/gatsby-starter-bulma-storybook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
49 lines (49 loc) · 1.11 KB
/
.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
42
43
44
45
46
47
48
49
{
"env": {
"browser": true,
"node": true, // storybook
"jest": true,
"es6": true
},
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"prettier"
],
"plugins": [
"react",
"prettier"
],
"rules": {
"prettier/prettier": 2,
"no-unused-vars": 2,
"no-param-reassign": 2,
"dot-notation": 2,
"eqeqeq": 2,
"no-implied-eval": 2,
"no-invalid-this": 2,
"no-var": 2,
"no-use-before-define": 2,
"no-const-assign": 2,
"spaced-comment": 2,
"no-useless-constructor": 2,
"prefer-const": 2,
"max-depth": 2,
"react/no-string-refs": 2,
"react/jsx-key": 2,
"react/jsx-pascal-case": 2,
"react/jsx-no-undef": 2,
"react/sort-comp": 2,
"react/require-render-return": 2,
"react/prefer-stateless-function": 2,
"react/prefer-es6-class": 2,
"react/no-direct-mutation-state": 2
}
}