meta: increase the typescript config separation of main and renderer files
This commit is contained in:
parent
ac7eb61515
commit
c0eff54795
@ -166,6 +166,18 @@
|
||||
"@typescript-eslint/no-shadow": ["error"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": ["src/renderer.ts", "src/renderer/**/*.ts"],
|
||||
"parserOptions": {
|
||||
"project": "./tsconfig.renderer.json"
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": ["types/**/*"],
|
||||
"rules": {
|
||||
"@typescript-eslint/no-magic-numbers": "off"
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": ["src/main/migrations/**/*"],
|
||||
"rules": {
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es2019",
|
||||
"lib": ["es2019", "dom"],
|
||||
"types": ["reflect-metadata"],
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
@ -15,5 +14,5 @@
|
||||
"experimentalDecorators": true,
|
||||
"emitDecoratorMetadata": true
|
||||
},
|
||||
"include": ["declarations/**/*.ts", "types/**/*.ts", "src/**/*.ts"]
|
||||
"include": ["declarations/**/*.ts", "types/**/*.ts", "src/main.ts", "src/main/**/*.ts", "src/services/**/*.ts"]
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es2019",
|
||||
"lib": ["dom"],
|
||||
"target": "es2020",
|
||||
"moduleResolution": "node",
|
||||
"esModuleInterop": true,
|
||||
"noImplicitAny": true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user