forked from reactjs/react-tabs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
34 lines (34 loc) · 928 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
32
33
34
{
"extends": ["airbnb", "prettier"],
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"plugins": ["prettier"],
"rules": {
"no-plusplus": "off",
"prettier/prettier": "error",
"react/require-default-props": "off",
"react/jsx-filename-extension": ["error", { "extensions": [".js"] }],
"react/jsx-props-no-spreading": "off",
"react/forbid-prop-types": "off",
"react/prefer-stateless-function": "off",
"react/sort-comp": "off",
"react/static-property-placement": "off",
"react/state-in-constructor": "off",
"jsx-a11y/no-static-element-interactions": "off",
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"**/__tests__/**/*",
"examples/src/**/*.js",
"rollup.config.js",
"webpack-new.config.js"
],
"optionalDependencies": false
}
]
}
}