-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
36 lines (36 loc) · 993 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
{
"env": {
"node": true,
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
},
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"rules": {
"no-return-await": "error",
"no-return-assign": "error",
"array-bracket-spacing": "warn",
"brace-style": ["warn", "1tbs"],
"indent": ["warn", 4],
"no-trailing-spaces": "warn",
"lines-between-class-members": ["warn", "always", {
"exceptAfterSingleLine": true
}],
"@typescript-eslint/no-unused-vars": ["warn", {
"argsIgnorePattern": "^_"
}]
}
}