-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
66 lines (65 loc) · 1.1 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
env:
browser: true
es2021: true
extends:
- 'plugin:react/recommended'
- standard
parserOptions:
ecmaFeatures:
jsx: true
ecmaVersion: 12
sourceType: module
plugins:
- react
rules:
react/prop-types:
- 0
indent:
- error
- 2
- SwitchCase: 1
comma-dangle:
- 2
- never
object-curly-spacing:
- 2
- always
object-shorthand:
- 2
- always
array-bracket-spacing:
- 2
- never
max-len:
- 2
- 120
- ignoreStrings: true
ignoreTemplateLiterals: true
ignoreComments: true
consistent-return: 0
prefer-destructuring:
- 2
- array: false
object: false
- enforceForRenamedProperties: false
prefer-object-spread: 0
prefer-rest-params: 0
prefer-spread: 0
function-paren-newline: 0
no-plusplus: 1
no-param-reassign: 1
strict:
- 2
- safe
valid-jsdoc:
- 2
- requireReturn: false
requireParamDescription: false
requireReturnDescription: false
overrides:
- files: tests/**
rules:
no-template-curly-in-string: 1
- files: markdown.config.js
rules:
no-console: 0