-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
56 lines (56 loc) · 1.83 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
module.exports = {
root: true,
plugins: ['@typescript-eslint'],
extends: [
'moon',
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-type-checked',
'airbnb-base',
'airbnb-typescript/base',
'prettier'
],
rules: {
'no-restricted-syntax': 0,
'import/no-extraneous-dependencies': 0,
'import/no-default-export': 0,
'consistent-return': 0,
'prefer-destructuring': 0,
'import/extensions': 0,
'no-underscore-dangle': 0,
'sort-keys': 0,
'simple-import-sort/imports': 0,
'import/prefer-default-export': 0,
'import/no-unresolved': 0,
'no-param-reassign': 0,
'no-nested-ternary': 0,
'promise/prefer-await-to-then': 0,
'promise/prefer-await-to-callbacks': 0,
'unicorn/explicit-length-check': 0,
'@typescript-eslint/naming-convention': 0,
'@typescript-eslint/no-confusing-void-expression': 0,
'@typescript-eslint/no-unnecessary-type-assertion': 0,
'@typescript-eslint/no-unsafe-call': 0,
'@typescript-eslint/no-use-before-define': 0,
'@typescript-eslint/no-unsafe-assignment': 0,
'@typescript-eslint/no-unsafe-member-access': 0,
'@typescript-eslint/no-unsafe-return': 0,
'@typescript-eslint/sort-type-constituents': 0,
'@typescript-eslint/no-redundant-type-constituents': 0,
'@typescript-eslint/no-unsafe-argument': 0,
'@typescript-eslint/non-nullable-type-assertion-style': 0,
'@typescript-eslint/consistent-type-imports': [
2,
{
fixStyle: 'inline-type-imports',
prefer: 'type-imports'
}
]
},
parser: '@typescript-eslint/parser',
ignorePatterns: ['vite.config.ts', 'app.config.ts'],
parserOptions: {
project: ['./tsconfig.eslint.json', './apps/**/tsconfig.json', './packages/**/tsconfig.json'],
tsconfigRootDir: __dirname
}
};