mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
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:
parent
237fcdab20
commit
cd992806a6
@ -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"]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user