Skip to content

Commit

Permalink
fix(eslint): adjust configuration to updated flat recommendations
Browse files Browse the repository at this point in the history
Signed-off-by: diba1013 <diba1013@web.de>
  • Loading branch information
diba1013 committed Nov 30, 2024
1 parent 07c9bd1 commit 1ea7b42
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/recommended.eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,14 +219,10 @@ export function defineConfig({
files: ["**/*.ts", "**/*.tsx", "**/*.vue"],
},
configurations: [
// Enable base typescript configuration
typescript.configs["base"],
// Enable eslint typescript replacement configuration
typescript.configs["eslintRecommended"],
// Enable strict typescript configuration, prevent duplication
typescript.configs["strictTypeChecked"].at(-1),
typescript.configs.strictTypeChecked,
// Enable stylistic typescript configuration, prevent duplication
typescript.configs["stylisticTypeChecked"].at(-1),
typescript.configs.stylisticTypeChecked,
],
overwrite: {
languageOptions: {
Expand Down

0 comments on commit 1ea7b42

Please sign in to comment.