Skip to content

Commit

Permalink
chore: use new eslint flat config
Browse files Browse the repository at this point in the history
  • Loading branch information
mitjans committed Apr 16, 2024
1 parent cdf0273 commit 78c94b4
Show file tree
Hide file tree
Showing 6 changed files with 158 additions and 21 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

8 changes: 0 additions & 8 deletions .eslintrc

This file was deleted.

3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"eslint.experimental.useFlatConfig": true
}
5 changes: 5 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
//@ts-check
import tseslint from 'typescript-eslint';
import prettier from 'eslint-plugin-prettier/recommended';

export default [...tseslint.configs.recommended, prettier];
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
"eslint-plugin-prettier": "^5.1.3",
"nuxt": "^3.11.2",
"prettier": "^3.2.5",
"typescript": "^5.4.5",
"typescript-eslint": "^7.7.0",
"vitest": "^1.5.0"
}
}
159 changes: 148 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 78c94b4

Please sign in to comment.