-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
66 lines (57 loc) · 1.56 KB
/
.eslintrc.yml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
env:
browser: true
es6: true
extends:
- airbnb
- plugin:react/recommended
parser: babel-eslint
plugins:
- babel
- react
globals:
PRODUCTION: false
DEVELOPMENT: false
rules:
arrow-parens: [warn, as-needed]
comma-dangle: [warn]
class-methods-use-this: [off]
no-console: [off]
no-continue: [off]
no-mixed-operators: [warn, { allowSamePrecedence: true }]
no-param-reassign: [warn, { props: false }]
no-prototype-builtins: [off]
no-restricted-syntax: [off]
no-throw-literal: [off]
no-underscore-dangle: [off]
no-use-before-define: [warn, { functions: false, classes: false }]
prefer-const: [warn]
no-plusplus: [off]
no-await-in-loop: [off]
import/no-extraneous-dependencies: [error, {devDependencies: true}]
import/no-mutable-exports: [off]
import/no-named-as-default: [off]
import/order:
- error
- newlines-between: always-and-inside-groups
groups:
- [builtin, external]
- [internal]
- [parent, index, sibling]
react/jsx-filename-extension: [error, { extensions: [.js] }]
react/no-multi-comp: [off]
react/jsx-no-bind: [error]
react/jsx-boolean-value: [warn]
react/jsx-wrap-multilines: [error]
react/no-danger-with-children: [error]
react/require-extension: [off] # deprecated
react/self-closing-comp: [warn]
react/forbid-prop-types: [off]
react/no-unused-prop-types: [off]
react/no-array-index-key: [off]
react/prefer-stateless-function: [off]
jsx-a11y/label-has-for: [off]
generator-star-spacing: [warn]
settings:
import/resolver:
webpack:
config: 'webpack.config.js'