forked from Semantic-Org/Semantic-UI-React
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
46 lines (46 loc) · 1.54 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
{
"parser": "babel-eslint",
"extends": ["airbnb", "prettier"],
"env": {
"browser": true
},
"rules": {
"newline-per-chained-call": "off",
"class-methods-use-this": "off",
"consistent-return": "off",
"complexity": ["warn", 10],
"global-require": "off",
"lines-between-class-members": "off",
"no-console": "error",
"no-multi-spaces": ["error", { "ignoreEOLComments": true }],
"no-return-assign": ["error", "except-parens"],
"no-underscore-dangle": "off",
"padded-blocks": ["error", {
"blocks": "never",
"switches": "never",
"classes": "never"
}],
"prefer-destructuring": "off",
"jsx-a11y/alt-text": "warn",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/click-events-have-key-events": "warn",
"jsx-a11y/label-has-for": "warn",
"jsx-a11y/label-has-associated-control": "warn",
"jsx-a11y/no-static-element-interactions": "warn",
"jsx-a11y/role-has-required-aria-props": "warn",
"import/no-dynamic-require": "off",
"import/no-extraneous-dependencies": "off",
"import/no-unresolved": "off",
"import/no-webpack-loader-syntax": "off",
"import/extensions": "off",
"react/button-has-type": "off",
"react/destructuring-assignment": "off",
"react/forbid-prop-types": "off",
"react/jsx-one-expression-per-line": "off",
"react/jsx-filename-extension": [2, { "extensions": [".js"] }],
"react/jsx-wrap-multilines": "off",
"react/no-unused-prop-types": "off",
"react/sort-comp": "off",
"react/require-default-props":"off"
}
}