chore(repo): add type-checked eslint
This commit is contained in:
parent
a8596c8b4d
commit
8806114929
@ -1,5 +1,16 @@
|
|||||||
import baseConfig from "../../eslint.config.mjs";
|
import baseConfig from "../../eslint.config.mjs";
|
||||||
|
import tseslint from 'typescript-eslint';
|
||||||
|
|
||||||
export default [
|
export default tseslint.config([
|
||||||
...baseConfig
|
...baseConfig,
|
||||||
];
|
{
|
||||||
|
files: ['src/**/*.ts', 'src/**/*.tsx'],
|
||||||
|
extends: [tseslint.configs.recommendedTypeCheckedOnly],
|
||||||
|
languageOptions: {
|
||||||
|
parserOptions: {
|
||||||
|
projectService: true,
|
||||||
|
tsconfigRootDir: import.meta.dirname,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
@ -16,4 +16,4 @@ async function bootstrap() {
|
|||||||
Logger.log(`🚀 Application is running on: http://localhost:${port}/${globalPrefix}`);
|
Logger.log(`🚀 Application is running on: http://localhost:${port}/${globalPrefix}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
bootstrap();
|
void bootstrap();
|
||||||
|
Reference in New Issue
Block a user