-
Notifications
You must be signed in to change notification settings - Fork 18
/
.eslintrc.js
34 lines (34 loc) · 962 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
module.exports = {
root: true,
env: {
es2017: true
},
ignorePatterns: ["*.d.ts", "styles.js", "*.tab.js"],
overrides: [
{
plugins: ['@typescript-eslint'],
files: ['*.ts', '*.tsx'],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
],
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./packages/**/tsconfig.json'],
},
},
{
files: ['*.ts', '*.tsx'],
rules: {
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-unsafe-argument': 0,
'@typescript-eslint/no-unsafe-assignment': 0,
'@typescript-eslint/no-unsafe-call': 0,
'@typescript-eslint/no-unsafe-member-access': 0,
'@typescript-eslint/no-unsafe-return': 0,
'@typescript-eslint/restrict-template-expressions': 0,
}
},
]
};