forked from loput12ouj35/React-slide-rule
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
58 lines (58 loc) · 1.18 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"env": {
"browser": true,
"es6": true
},
"root": true,
"extends": [
"airbnb",
"prettier",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"plugin:import/typescript"
],
"plugins": [
"react",
"@typescript-eslint",
"jsx-a11y",
"import"
],
"rules": {
"react/prop-types": 0,
"react/jsx-one-expression-per-line": 0,
"import/imports-first": [
"error",
"absolute-first"
],
"react/state-in-constructor": 0,
"react/jsx-filename-extension": 0,
"import/newline-after-import": 2,
"import/extensions": 0,
"import/prefer-default-export": 0,
"linebreak-style": 0,
"func-names": 0,
"no-unused-vars": 1,
"prefer-arrow-callback": 0,
"no-underscore-dangle": 0,
"no-plusplus": 0,
"no-continue": 0,
"no-use-before-define": 0,
"no-nested-ternary": 0,
"@typescript-eslint/no-use-before-define": 0,
"prettier/prettier": 2
},
"parser": "@typescript-eslint/parser",
"overrides": [
{
"files": [
"*.ts",
"*.tsx"
],
"parserOptions": {
"project": [
"./tsconfig.json"
]
}
}
]
}