generated from Liinkiing/react-extension-webpack-typescript-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
49 lines (49 loc) · 1.13 KB
/
.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"prettier/@typescript-eslint",
"prettier"
],
"env": {
"node": true,
"webextensions": true,
"es6": true,
"browser": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2017,
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint/eslint-plugin",
"better-styled-components"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"@typescript-eslint/no-unused-vars": "warn",
"react/prop-types": "off",
"better-styled-components/sort-declarations-alphabetically": "warn",
"@typescript-eslint/camelcase": "off",
"react/destructuring-assignment": "warn",
"@typescript-eslint/explicit-function-return-type": [
"warn",
{
"allowExpressions": true
}
],
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/triple-slash-reference": "off"
}
}