-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
28 lines (28 loc) · 848 Bytes
/
.eslintrc
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
{
"root": true,
"extends": [
"eslint:recommended",
"plugin:n/recommended",
"airbnb-base",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"airbnb-typescript/base",
"plugin:prettier/recommended"
],
"parserOptions": {
"project": ["./tsconfig.json"],
"ecmaVersion": 2022,
"sourceType": "module"
},
"env": {
"node": true
},
"rules": {
"import/prefer-default-export": "off",
"node/no-missing-import": "off",
"@typescript-eslint/return-await": ["error", "always"],
"@typescript-eslint/member-ordering": ["error"],
"@typescript-eslint/no-empty-function": ["error", { "allow": ["private-constructors"] }],
"@typescript-eslint/array-type": ["error", { "default": "array-simple", "readonly": "array-simple" }]
}
}