25 lines
492 B
JavaScript
25 lines
492 B
JavaScript
import js from "@eslint/js";
|
|
import tseslint from "typescript-eslint";
|
|
import astro from "eslint-plugin-astro";
|
|
|
|
export default [
|
|
js.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
...astro.configs.recommended,
|
|
{
|
|
files: ["**/*.astro"],
|
|
languageOptions: {
|
|
parser: astro.parser,
|
|
parserOptions: {
|
|
extraFileExtensions: [".astro"],
|
|
},
|
|
},
|
|
rules: {
|
|
"no-unused-vars": "off",
|
|
},
|
|
},
|
|
{
|
|
ignores: ["node_modules", "dist"],
|
|
},
|
|
];
|