Skip to content

Commit

Permalink
add eslint and fix ts issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Jish2 committed Oct 29, 2024
1 parent a9d3c47 commit 5eafda3
Show file tree
Hide file tree
Showing 5 changed files with 2,176 additions and 2,960 deletions.
6 changes: 6 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import eslintPluginAstro from "eslint-plugin-astro";

export default [
js.configs.recommended,
...eslintPluginAstro.configs.recommended,
];
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@
"dependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/tailwind": "^5.1.2",
"@astrojs/ts-plugin": "^1.10.4",
"astro": "^4.16.7",
"tailwindcss": "^3.4.14",
"typescript": "^4.9.4"
},
"packageManager": "[email protected]",
"devDependencies": {
"@typescript-eslint/parser": "^8.12.1",
"eslint": "^9.13.0",
"eslint-plugin-astro": "^1.3.0",
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1"
}
Expand Down
Loading

0 comments on commit 5eafda3

Please sign in to comment.