-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc.yml
59 lines (59 loc) · 1.06 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
extends: airbnb
parser: babel-eslint
rules:
consistent-return: 0
comma-dangle: 0
curly:
- 2
- multi
func-names: 2
func-style:
- 2
- expression
- allowArrowFunctions: true
import/extensions: 0
import/no-extraneous-dependencies:
- 0
- devDependencies: false
import/no-unresolved: 0
import/no-named-as-default: 0
indent:
- 2
- 4
- SwitchCase: 1
jsx-a11y/anchor-has-content: 0
jsx-a11y/no-static-element-interactions: 0
max-len:
- 2
- code: 100
tabWidth: 4
new-cap: 0
no-console: 0
no-confusing-arrow: 0
no-underscore-dangle: 0
padded-blocks: 0
semi:
- 2
- always
react/forbid-prop-types: 0
react/jsx-indent-props:
- 2
- 4
react/prefer-stateless-function: 2
react/no-is-mounted: 2
react/prefer-es6-class: 2
react/jsx-filename-extension:
- 1
- extensions:
- .js
- .jsx
react/jsx-handler-names: 2
react/jsx-no-bind: 2
react/jsx-no-duplicate-props: 2
react/jsx-pascal-case: 2
plugins:
- react
env:
mocha: true
browser: true
node: true