fix: configure test typings and root database linting

This commit is contained in:
tothbt committed 2026-11-02 18:00:01 +01:00
1 parent 2f7f5ba5af
commit 848e12e2d6
4 files changed
+16 -3

No files matched your search

+1 -1
View File
@@ -122,7 +122,7 @@
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html", "db.ts"]
}
}
}
+2 -2
View File
@@ -4,11 +4,11 @@ const angular = require('angular-eslint');
module.exports = defineConfig(
{ ignores: ['projects/**', 'www/**', 'coverage/**'] },
{
files: ['src/**/*.ts'],
files: ['src/**/*.ts', 'db.ts'],
extends: angular.configs.tsRecommended,
languageOptions: {
parserOptions: {
project: ['./tsconfig.json'],
project: ['./tsconfig.eslint.json'],
tsconfigRootDir: __dirname
}
},
+8
View File
@@ -0,0 +1,8 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": true,
"types": ["jasmine"]
},
"include": ["src/**/*.ts", "db.ts"]
}
+5
View File
@@ -1,6 +1,11 @@
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
"compileOnSave": false,
"files": [],
"references": [
{ "path": "./tsconfig.app.json" },
{ "path": "./tsconfig.spec.json" }
],
"compilerOptions": {
"paths": { "db": ["./db.ts"] },
"outDir": "./dist/out-tsc",