-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
37 lines (37 loc) · 942 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
{
"env": {
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"google"
],
"ignorePatterns": [
"src/entity/level.ts"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"arrow-parens": ["error", "as-needed"],
"comma-dangle": ["error", "never"],
"eol-last": ["error", "never"],
"indent": ["error", 2],
"linebreak-style": "off",
"max-len": ["off"],
"new-cap": ["warn"],
"no-constant-condition": ["off"],
"no-undef": ["off"],
"object-curly-spacing": ["error", "always"],
"operator-linebreak": ["error", "before"],
"padded-blocks": ["off"],
"quotes": ["error", "double"],
"require-jsdoc": ["off"]
}
}