-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
71 lines (63 loc) · 1.13 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
67
68
69
70
71
---
env:
es6: true
jest: true
jquery: true
browser: true
node: true
parser: babel-eslint
extends:
- airbnb
- prettier
plugins:
- react-hooks
rules:
# best practices
arrow-parens:
- 2
- as-needed
camelcase:
- 0
max-len:
- 2
- code: 100
semi:
- 2
- never
class-methods-use-this: 0
comma-dangle:
- 2
- always-multiline
no-console:
- 2
no-unused-expressions: 0
no-param-reassign:
- 2
- props: false
no-useless-escape: 0
no-restricted-globals: 0
func-names: 0
quotes:
- 2
- single
- allowTemplateLiterals: true
no-underscore-dangle: 0
import/no-unresolved: 0
import/extensions: 0
import/no-extraneous-dependencies: 0
import/prefer-default-export: 0
object-curly-newline: 0
operator-linebreak:
- 2
- after
react/jsx-filename-extension: 0
react/jsx-one-expression-per-line: 0
react/forbid-prop-types: 0
react/require-default-props: 0
react/no-array-index-key: 0
react/no-unescaped-entities: 0
react/destructuring-assignment: 0
react-hooks/rules-of-hooks: error
globals:
document: true
requestAnimationFrame: true