Skip to content

Commit

Permalink
fix (web): Adopt strict & stylistic TypeChecked tseslint
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed Jan 15, 2025
1 parent 2efd6a5 commit fce576a
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions web/eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,20 @@ export default tseslint.config(
{
ignores: ["public/bundle.js", "web-out/**/*.js"],
},
eslint.configs.recommended,

// https://typescript-eslint.io/getting-started/
tseslint.configs.strict,
tseslint.configs.stylistic
// https://typescript-eslint.io/users/configs
// https://typescript-eslint.io/getting-started/typed-linting/
eslint.configs.recommended,
tseslint.configs.strictTypeChecked,
tseslint.configs.stylisticTypeChecked,

{
languageOptions: {
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
}
) // TODO https://eslint.org/docs/latest/use/configure/configuration-files#typescript-configuration-files

0 comments on commit fce576a

Please sign in to comment.