-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
57 lines (50 loc) · 867 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
env:
node: true
jest: true
browser: true
plugins:
- babel
# - fp
parser: "@babel/eslint-parser"
extends:
- airbnb-base
- plugin:import/recommended
# - plugin:fp/recommended
- prettier
rules:
array-callback-return: 2
arrow-body-style: 2
consistent-return: 1
# fp/no-mutating-methods: 2
# fp/no-unused-expression: 0
# fp/no-nil: 0
import/extensions: 0
max-len: [
2,
{
code: 100,
ignoreComments: false
}
]
no-console: 0
no-multiple-empty-lines: 1
no-param-reassig: 0
no-underscore-dangle: [
2,
{
allow: [ __filename, __dirname ]
}
]
no-param-reassign: 0
overrides:
- files: "./__tests__/*.test.js"
plugins:
- jest
extends:
- plugin:jest/all
- plugin:jest/style
settings:
import/resolver:
node:
extensions:
- .js