Skip to content

Commit

Permalink
Migrate to ESlint 9
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristineTham committed Apr 7, 2024
1 parent 6af84b2 commit c493b4e
Show file tree
Hide file tree
Showing 4 changed files with 520 additions and 519 deletions.
29 changes: 0 additions & 29 deletions .eslintrc.cjs

This file was deleted.

12 changes: 12 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import eslintPluginAstro from 'eslint-plugin-astro'
import * as mdx from 'eslint-plugin-mdx'
import markdown from "eslint-plugin-markdown"
import unocss from '@unocss/eslint-config/flat'

export default [
...eslintPluginAstro.configs['flat/recommended'],
// ...eslintPluginAstro.configs['flat/jsx-a11y-recommended'],
{ ...mdx.flat },
...markdown.configs.recommended,
unocss,
]
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,28 @@
"dependencies": {
"@astrojs/rss": "^4.0.5",
"@astrojs/sitemap": "^3.1.2",
"astro": "^4.5.12"
"astro": "^4.5.16"
},
"devDependencies": {
"@astrojs/check": "^0.5.10",
"@iconify-json/heroicons": "^1.1.20",
"@iconify-json/logos": "^1.1.42",
"@julr/unocss-preset-forms": "^0.1.0",
"@types/node": "^20.12.2",
"@typescript-eslint/parser": "^7.4.0",
"@unocss/eslint-config": "^0.58.8",
"@unocss/reset": "^0.58.8",
"eslint": "^8.57.0",
"eslint-plugin-astro": "^0.33.1",
"@types/node": "^20.12.5",
"@typescript-eslint/parser": "^7.5.0",
"@unocss/eslint-config": "^0.59.0",
"@unocss/reset": "^0.59.0",
"eslint": "^9.0.0",
"eslint-plugin-astro": "^0.34.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-markdown": "^4.0.1",
"eslint-plugin-mdx": "^3.1.5",
"prettier": "^3.2.5",
"prettier-plugin-astro": "^0.13.0",
"prettier-plugin-tailwindcss": "^0.5.13",
"typescript": "^5.4.3",
"unocss": "^0.58.8",
"vite": "^5.2.7"
"typescript": "^5.4.4",
"unocss": "^0.59.0",
"vite": "^5.2.8"
},
"packageManager": "[email protected]+sha256.4b4efa12490e5055d59b9b9fc9438b7d581a6b7af3b5675eb5c5f447cee1a589"
}
Loading

0 comments on commit c493b4e

Please sign in to comment.