forked from Semantic-Org/Semantic-UI-React
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (41 loc) · 1.16 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
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true
},
"rules": {
"newline-per-chained-call": 0,
"class-methods-use-this": 0,
"consistent-return": 0,
"complexity": [1, 10],
"global-require": 0,
"jsx-quotes": [2, "prefer-single"],
"max-len": [2, 120, 4],
"no-console": 2,
"no-mixed-operators": 0,
"no-multi-spaces": [2, { "ignoreEOLComments": true }],
"no-return-assign": [2, "except-parens"],
"no-underscore-dangle": 0,
"padded-blocks": [2, {
"blocks": "never",
"switches": "never",
"classes": "never"
}],
"semi": [2, "never"],
"jsx-a11y/alt-text": 1,
"jsx-a11y/label-has-for": 1,
"jsx-a11y/no-static-element-interactions": 1,
"jsx-a11y/role-has-required-aria-props": 1,
"import/no-dynamic-require": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"import/no-webpack-loader-syntax": 0,
"import/extensions": 0,
"react/forbid-prop-types": 0,
"react/jsx-filename-extension": [2, { "extensions": [".js"] }],
"react/no-unused-prop-types": 0,
"react/sort-comp": 0,
"react/require-default-props": 0
}
}