-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
38 lines (38 loc) · 1.17 KB
/
.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
35
36
37
38
{
"extends": ["airbnb", "prettier/react", "plugin:prettier/recommended"],
"plugins": ["react", "jsx-a11y", "import", "babel"],
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-no-bind": "off",
"no-underscore-dangle": "off",
"no-prototype-builtins": "off",
"no-param-reassign": "off",
"react/prefer-stateless-function": "off",
"react/no-array-index-key": "off",
"import/prefer-default-export": "off",
"global-require": "off",
"linebreak-style": "off",
"react/forbid-prop-types": "off",
"react/destructuring-assignment": "off",
"no-loop-func": "off",
"class-methods-use-this": "off",
"jsx-a11y/no-noninteractive-tabindex": "off",
"jsx-a11y/anchor-is-valid": "off",
"prefer-destructuring": "off",
"jsx-a11y/mouse-events-have-key-events": "off",
"import/no-extraneous-dependencies": "off",
"babel/new-cap": 1,
"babel/no-invalid-this": 1,
"babel/semi": 1
},
"env": {
"browser": true,
"jest": true
},
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": false,
"codeFrame": false
}
}