mirror of
https://github.com/IT4Change/IT4C.dev.git
synced 2026-03-01 12:44:23 +00:00
fix(backend): fix build for backend without dev dependencies (#651)
* fix build for backend without dev dependencies * fix lint
This commit is contained in:
parent
33310a43c5
commit
e074d52e8a
@ -8,7 +8,7 @@ export default [
|
|||||||
languageOptions: {
|
languageOptions: {
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
projectService: {
|
projectService: {
|
||||||
allowDefaultProject: ['jest/*.ts', 'src/*.spec.ts', 'src/*.test.ts'],
|
allowDefaultProject: ['jest.config.ts', 'jest/*.ts', 'src/*.spec.ts', 'src/*.test.ts'],
|
||||||
defaultProject: './tsconfig.eslint.json',
|
defaultProject: './tsconfig.eslint.json',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@ -112,5 +112,5 @@
|
|||||||
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
||||||
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
||||||
},
|
},
|
||||||
"exclude": ["**/*.spec.ts", "**/*.test.ts", "jest/"]
|
"exclude": ["**/*.spec.ts", "**/*.test.ts", "jest/", "jest.config.ts", "build/", "coverage/"]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user