forked from react-lds/react-lds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
31 lines (31 loc) · 990 Bytes
/
.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
{
"extends": "airbnb",
"parser": "babel-eslint",
"env": {
"browser": true,
"jest": true,
},
"rules": {
"comma-dangle": "off",
"max-len": [2, 120, 2, {
"ignoreUrls": true,
"ignoreComments": false
}],
"import/no-duplicates": "off",
"import/no-extraneous-dependencies": "off",
"import/prefer-default-export": "off",
"jsx-a11y/anchor-has-content": "off",
"jsx-a11y/href-no-hash": "off",
"jsx-a11y/interactive-supports-focus": "off",
"jsx-a11y/label-has-for": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/role-has-required-aria-props": "off",
"jsx-a11y/no-noninteractive-tabindex": "off",
"react/forbid-prop-types": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/no-array-index-key": 1,
"react/require-default-props": 1,
"react/forbid-foreign-prop-types": "error"
}
}