-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
41 lines (40 loc) · 896 Bytes
/
.eslintrc.js
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
39
40
41
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: [
'prettier',
],
extends: [
'airbnb-base',
'airbnb-typescript/base',
"prettier"
],
env: {
"es6": true,
"node": true
},
parserOptions: {
project: ['./tsconfig.json'],
project: ['./tests/tsconfig.json'],
},
rules: {
"prettier/prettier": "error",
"import/prefer-default-export": "off",
"no-bitwise": "off",
"arrow-body-style": "off",
"no-restricted-syntax": "off",
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
"no-trailing-spaces": "error",
"class-methods-use-this": "off",
"no-return-await": "off",
"@typescript-eslint/return-await": "off",
"no-await-in-loop": "off",
'no-plusplus': "off",
'@typescript-eslint/no-throw-literal': 'off',
"spaced-comment": ["error", "always", {
"line": {
"markers": ["#region", "#endregion"]
}
}],
},
};