-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc.yml
61 lines (55 loc) · 1022 Bytes
/
.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
---
extends:
- airbnb-base
- plugin:import/warnings
env:
jest/globals: true
browser: true
node: true
plugins:
- import
- jest
settings:
import/resolver:
webpack:
config: 'webpack.config.js'
rules:
no-multiple-empty-lines: off
import/no-webpack-loader-syntax: off
import/no-cycle:
- error
- maxDepth: 2
import/order: off
import/no-extraneous-dependencies: off
import/newline-after-import:
- error
- count: 2
padding-line-between-statements:
- error
- blankLine: always
prev: "*"
next: return
- blankLine: always
prev: "*"
next: export
no-param-reassign:
- 2
- props: false
no-console:
- error
- allow:
- warn
- error
object-curly-newline:
- error
- ImportDeclaration:
minProperties: 1
multiline: true
consistent: true
ObjectExpression:
consistent: true
minProperties: 3
parserOptions:
parser: babel-eslint
globals:
inject: false