-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
42 lines (42 loc) · 1.26 KB
/
.eslintrc.js
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
module.exports = {
"parser": '@typescript-eslint/parser',
"plugins": ["@typescript-eslint", "react", "prettier"],
"extends": [
"airbnb",
"prettier",
"prettier/react",
"prettier/@typescript-eslint",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/typescript"
],
"env": {
"es6": true,
"browser": true,
"jest": true
},
"settings": {
"react": {
"version": "16.8.6"
}
},
"rules": {
"no-bitwise": "off",
"no-param-reassign": "off",
"guard-for-in": "off",
"prettier/prettier": "error",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx", ".ts", "tsx"] }],
"react/jsx-props-no-spreading": "off",
"react/static-property-placement": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/indent": ["error", 2],
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/indent": "off",
"jsx-a11y/anchor-is-valid": "off",
"class-methods-use-this": "off",
"import/prefer-default-export": "off"
},
"overrides": []
}