Skip to content

Commit 54bf1ea

Browse files
committed
Remove unneeded astroParser
1 parent e654e1d commit 54bf1ea

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

eslint.config.mjs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// @ts-check
22
import eslint from "@eslint/js";
33
import eslintPluginAstro from "eslint-plugin-astro";
4-
import astroParser from "astro-eslint-parser";
54
import jsxA11y from "eslint-plugin-jsx-a11y";
65
import reactHooks from "eslint-plugin-react-hooks";
76
import sonarjs from "eslint-plugin-sonarjs";
@@ -58,10 +57,6 @@ export default defineConfig([
5857
},
5958
{
6059
files: ["**/*.astro"],
61-
languageOptions: {
62-
// Ensure Astro files are parsed with the Astro parser, not the TS program parser.
63-
parser: astroParser,
64-
},
6560
rules: {
6661
"@typescript-eslint/no-explicit-any": "error",
6762
"@typescript-eslint/no-misused-promises": "off",

0 commit comments

Comments
 (0)