forked from AKaramifar/extra-support
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
34 lines (34 loc) · 908 Bytes
/
.eslintrc.json
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"],
"plugins": ["prettier", "jest", "babel"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2016,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"es6": true,
"browser": true,
"node": true,
"mocha": true,
"jest/globals": true
},
"rules": {
"import/no-extraneous-dependencies": ["error", { "packageDir": "." }],
"react/forbid-prop-types": "off",
"react/jsx-no-bind": "warn",
"react/sort-comp": "warn",
"no-param-reassign": "off",
"babel/semi": "off",
"no-undef": "off",
"class-methods-use-this": "warn",
"jsx-a11y/no-noninteractive-element-interactions": "warn",
"jsx-a11y/no-static-element-interactions": "warn",
"prefer-destructuring": "off",
"react/destructuring-assignment": "off",
"react/jsx-curly-brace-presence": "off"
}
}