chore(tsconfig): add "*.js" to include, to fix eslint "ProjectService" error

added it only to the "dev" tsconfig.
The tsconfig.build.json, which is used for build output does not require it.

eslint was previosuly reporting on itself:
"TriliumNextNotes/eslint.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject"
This commit is contained in:
Panagiotis Papadopoulos 2025-04-01 09:00:37 +02:00
parent 237fcdab20
commit cd992806a6

View File

@ -14,7 +14,7 @@
"esModuleInterop": true, "esModuleInterop": true,
"verbatimModuleSyntax": true "verbatimModuleSyntax": true
}, },
"include": ["./src/**/*.js", "./src/**/*.ts", "./*.ts", "./spec/**/*.ts"], "include": ["./src/**/*.js", "./src/**/*.ts", "./*.ts", "./*.js", "./spec/**/*.ts"],
"exclude": ["./node_modules/**/*", "./spec-es6/**/*.ts"], "exclude": ["./node_modules/**/*", "./spec-es6/**/*.ts"],
"files": ["src/types.d.ts", "src/public/app/types.d.ts"] "files": ["src/types.d.ts", "src/public/app/types.d.ts"]
} }