-
Notifications
You must be signed in to change notification settings - Fork 13
/
.eslintrc
70 lines (67 loc) · 1.25 KB
/
.eslintrc
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
66
67
68
69
70
extends:
eslint-config-airbnb
plugins:
- react
- babel
parser:
babel-eslint
parserOptions:
ecmaVersion: 6
sourceType: module
ecmaFeatures:
jsx: true
globals:
Webflow: true
IntlMessage: true
IntlLocale: true
SqPaymentForm: true
env:
es6: true
browser: true
node: true
jquery: true
mocha: true
rules:
prefer-const: 1
one-var: 0
brace-style: 0
max-len:
- 0
- 100
- ignoreComments: true
ignoreTrailingComments: true
ignoreStrings: true
ignoreUrls: true
ignoreTemplateLiterals: true
react/jsx-boolean-value: 1
react/sort-comp: 0
react/no-unused-prop-types: 0
no-extra-boolean-cast:
- 0
no-param-reassign:
- 0
- props: false
react/prefer-stateless-function:
- 2
- ignorePureComponents: true
react/jsx-filename-extension: 0
import/no-extraneous-dependencies:
- 2
- devDependencies: true
no-irregular-whitespace:
- 1
- skipStrings: true
skipComments: true
skipTemplates: true
no-useless-escape: 0
jsx-a11y/no-static-element-interactions: 1
jsx-a11y/anchor-has-content: 0
camelcase: 1
linebreak-style: 0
no-underscore-dangle:
- 0
- allow: _id
no-use-before-define:
- 2
- functions: false
classes: true