-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
33 lines (33 loc) · 1001 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
{
"env": {
"node": true,
"es6": true
},
"extends": ["prettier", "google", "plugin:@typescript-eslint/recommended"],
"plugins": ["prettier"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"indent": ["error", 2, { "SwitchCase": 1 }],
"comma-dangle": ["error", "never"],
"camelcase": ["warn", {"properties": "always"}],
"object-curly-spacing": ["error", "always"],
"curly": ["error", "all"],
"require-jsdoc": 0,
"new-cap": 0,
"arrow-parens": 0,
"operator-linebreak": 0,
"max-len": ["error", { "code": 90 }],
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-unused-vars": [2, {"args": "after-used", "argsIgnorePattern": "^_"}],
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-var-requires": 0,
"quotes": ["error", "single", { "avoidEscape": true }]
}
}