-
Notifications
You must be signed in to change notification settings - Fork 24
/
.eslintrc.yml
54 lines (54 loc) · 1.05 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
---
extends:
- airbnb
- prettier
parser: babel-eslint
env:
browser: true
node: true
pluggins:
- react
- react-hooks
- prettier
rules:
prettier/prittier: error
no-underscore-dangle: 0
no-plusplus: 0
no-multi-assign: 0
no-nested-ternary: 0
no-unneeded-ternary: 0
no-param-reassign: 0
no-unused-expressions:
- error
- allowShortCircuit: true
max-len:
- error
- ignoreComments: true
comma-dangle:
- error
- arrays: always-multiline
objects: always-multiline
imports: always-multiline
exports: always-multiline
functions: ignore
react/jsx-filename-extension:
- error
- extensions:
- .js
- .jsx
import/no-extraneous-dependencies:
- error
- devDependencies: true
peerDependencies: true
no-await-in-loop: 0
function-paren-newline: 0
indent: 0
prefer-destructuring: 0
react/prop-types: 0
react/no-multi-comp: 0
react/sort-comp: 0
react/jsx-key: 1
react/jsx-indent: 0
jsx-a11y/anchor-is-valid: 0
class-methods-use-this: 0
object-curly-newline: 0