Add eslint to docs.

This commit is contained in:
Sebastian Jeltsch
2025-03-02 21:12:23 +01:00
parent 832543d971
commit 57fcb211e3
15 changed files with 111 additions and 34 deletions

View File

@@ -8,8 +8,8 @@
"build": "astro check && astro build",
"preview": "astro preview",
"astro": "astro",
"check": "astro check",
"format": "prettier -w tailwind.config.ts astro.config.mjs src "
"check": "astro check && eslint",
"format": "prettier -w ."
},
"dependencies": {
"@astrojs/check": "^0.9.4",
@@ -31,8 +31,16 @@
"devDependencies": {
"@astrojs/sitemap": "^3.2.1",
"@astrojs/solid-js": "^5.0.4",
"@eslint/js": "^9.21.0",
"astro-robots-txt": "^1.0.0",
"eslint": "^9.21.0",
"eslint-plugin-astro": "^1.3.1",
"eslint-plugin-solid": "^0.14.5",
"eslint-plugin-tailwindcss": "^3.18.0",
"globals": "^15.15.0",
"prettier": "^3.5.2",
"prettier-plugin-astro": "^0.14.1"
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-tailwindcss": "^0.6.11",
"typescript-eslint": "^8.25.0"
}
}