-
Notifications
You must be signed in to change notification settings - Fork 10
/
.eslintrc.yml
60 lines (60 loc) · 1.07 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
---
env:
browser: true
es6: true
extends: airbnb
parser: babel-eslint
plugins:
- react
- jsx-a11y
- import
globals:
describe: false
beforeAll: false
beforeEach: false
afterEach: false
it: false
expect: false
xit: false
spyOn: false
jasmine: false
module: false
jest: false
require: false
rules:
linebreak-style:
- error
- unix
import/no-unresolved: 0
no-multi-spaces:
- 1
- exceptions:
VariableDeclarator: true
ImportDeclaration: true
AssignmentExpression: true
comma-dangle:
- error
- only-multiline
import/no-extraneous-dependencies:
- error
- devDependencies: true
padded-blocks: 0
key-spacing: 0
react/require-default-props: 0
react/no-danger: 0
jsx-a11y/no-static-element-interactions: 0
no-underscore-dangle: 0
space-before-function-paren:
- 2
- never
func-names:
- 2
- as-needed
react/prefer-stateless-function: 0
react/forbid-prop-types:
- 2
- forbid:
- any
import/extensions: 0
react/prop-types: 0
import/no-named-as-default: 0