chore(eslint): integrate formatter config

This commit is contained in:
Elian Doran
2025-12-06 14:43:08 +02:00
parent dfb9ce990d
commit acd60007ac
6 changed files with 75 additions and 78 deletions

View File

@@ -8,8 +8,26 @@ export default defineConfig(
globalIgnores([
".cache",
"tmp",
"**/dist"
"**/dist",
"**/out-tsc",
"apps/edit-docs/demo/*",
"docs/*",
"apps/web-clipper/lib/*",
// TODO: check if we want to format packages here as well - for now skipping it
"packages/*",
]),
eslint.configs.recommended,
tseslint.configs.recommended,
// consider using rules below, once we have a full TS codebase and can be more strict
// tseslint.configs.strictTypeChecked,
// tseslint.configs.stylisticTypeChecked,
// tseslint.configs.recommendedTypeChecked,
{
languageOptions: {
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname
}
}
}
);