-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
37 lines (36 loc) · 891 Bytes
/
.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
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"no-alert": 2,
"no-console": 0,
"no-extra-bind": 2,
"no-implicit-globals": 1,
"no-constructor-return": 2,
"no-duplicate-imports": 2,
"no-promise-executor-return": 2,
"no-use-before-define": 2,
"camelcase": 1,
"spaced-comment": 2,
"semi": [2, "always", { "omitLastInOneLineBlock": true }],
"quotes": [2, "single"],
"max-len": ["warn", { "code": 100 }],
"react/jsx-filename-extension": ["warn", { "extensions": [".tsx"] }]
},
"settings": {
"react": {
"version": "detect"
}
}
}