chore: upgrade ESLint to v9 and update configurations (#356)

* chore: upgrade ESLint to v9 and update configurations

Upgrade ESLint and configure and update ESLint rules.

* refactor: update code to comply with new ESLint v9 rules
This commit is contained in:
Sat Naing
2024-08-19 12:58:16 +07:00
committed by GitHub
parent dab61b3714
commit 6bbe177566
8 changed files with 527 additions and 686 deletions
+7 -5
View File
@@ -34,14 +34,16 @@
"@types/github-slugger": "^1.3.0",
"@types/lodash.kebabcase": "^4.1.9",
"@types/react": "^18.3.3",
"@typescript-eslint/parser": "^6.19.0",
"astro-eslint-parser": "^0.16.2",
"eslint": "^8.56.0",
"eslint-plugin-astro": "^0.31.3",
"@typescript-eslint/parser": "^8.1.0",
"astro-eslint-parser": "^1.0.2",
"eslint": "^9.9.0",
"eslint-plugin-astro": "^1.2.3",
"globals": "^15.9.0",
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-tailwindcss": "^0.6.5",
"react": "^18.3.1",
"react-dom": "^18.3.1"
"react-dom": "^18.3.1",
"typescript-eslint": "^8.1.0"
}
}