-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
28 lines (28 loc) · 921 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
module.exports = {
env: {
es2021: true,
node: true,
},
extends: ['standard-with-typescript', 'prettier'],
overrides: [],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: 'tsconfig.json',
tsconfigRootDir: __dirname,
},
rules: {
'no-console': 'warn',
'no-await-in-loop': 'error',
'space-before-function-paren': 0,
'@typescript-eslint/semi': 0,
'@typescript-eslint/consistent-type-imports': 0,
'@typescript-eslint/consistent-type-assertions': 0,
'@typescript-eslint/strict-boolean-expressions': 0,
'@typescript-eslint/no-misused-promises': 0,
'@typescript-eslint/no-extraneous-class': 0,
'@typescript-eslint/space-before-function-paren': 0,
'@typescript-eslint/no-var-requires': 0,
'@typescript-eslint/return-await': 0,
},
};