-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
38 lines (38 loc) · 991 Bytes
/
.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
{
"env": {
"browser": true,
"commonjs": true,
"es2021": true,
"node": true,
"jest": true
},
"extends": [
"eslint:recommended",
"standard",
"eslint-config-prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"project": "./tsconfig.json",
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"node/no-callback-literal": "off",
"prettier/prettier": "error",
"semi": ["error", "always"],
"quotes": ["error", "double", { "avoidEscape": true }],
"comma-dangle": ["off", "always-multiline"],
"require-atomic-updates": "warn",
"no-console": ["warn", { "allow": ["error"] }],
"react/display-name": ["off"],
"no-use-before-define": "off",
"multiline-ternary": "off",
"space-before-function-paren": "off",
"no-undef": "off",
"camelcase": "warn",
"max-len": ["error", 250],
"complexity": ["warn", 10]
}
}