forked from magiclabs/magic-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
39 lines (34 loc) · 1.04 KB
/
.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
module.exports = {
root: true,
extends: ["@ikscodes/eslint-config"],
rules: {
// ESLint rules
"no-alert": 0,
"no-underscore-dangle": 0,
"no-useless-constructor": 0,
"class-methods-use-this": 0,
// Import rules
"import/extensions": 0,
"import/no-extraneous-dependencies": 0,
// TypeScript rules
"@typescript-eslint/ban-types": 0,
"@typescript-eslint/no-unsafe-call": 0,
"@typescript-eslint/await-thenable": 0,
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/no-unsafe-return": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-floating-promises": 0,
"@typescript-eslint/no-unsafe-assignment": 0,
"@typescript-eslint/no-useless-constructor": 0,
"@typescript-eslint/no-unsafe-member-access": 0,
"@typescript-eslint/restrict-template-expressions": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
},
settings: {
"import/resolver": {
"typescript": {
"directory": ["**/tsconfig.json"],
},
},
},
}