forked from breuerfelix/instapy-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
53 lines (53 loc) · 886 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
env:
node: true
es6: true
browser: true
plugins:
- 'react'
extends:
- 'eslint:recommended'
- 'plugin:react/recommended'
parser: 'babel-eslint'
settings:
react:
pragma: h
parserOptions:
ecmaVersion: 2018
sourceType: module
ecmaFeatures:
jsx: true
legacyDecorators: true
rules:
'indent':
- error
- tab
- SwitchCase: 1
'linebreak-style':
- error
- unix
'quotes':
- error
- single
'semi':
- error
- always
'no-unused-vars': off
'no-console': off
'no-empty': off
'keyword-spacing':
- error
'no-mixed-spaces-and-tabs':
- error
'object-curly-spacing':
- error
- always
'no-trailing-spaces':
- error
'react/jsx-curly-spacing':
- 2
- when: 'always'
spacing:
objectLiterals: 'never'
'react/prop-types': off
'react/no-deprecated': off
'react/jsx-key': warn