Upgrade Astro and Astro Paper to v5
This commit is contained in:
parent
8ebf7d5996
commit
e719f7ccca
105 changed files with 7099 additions and 1939 deletions
18
eslint.config.js
Normal file
18
eslint.config.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
import eslintPluginAstro from "eslint-plugin-astro";
|
||||
import globals from "globals";
|
||||
import tseslint from "typescript-eslint";
|
||||
|
||||
export default [
|
||||
...tseslint.configs.recommended,
|
||||
...eslintPluginAstro.configs.recommended,
|
||||
{
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...globals.browser,
|
||||
...globals.node,
|
||||
},
|
||||
},
|
||||
},
|
||||
{ rules: { "no-console": "error" } },
|
||||
{ ignores: ["dist/**", ".astro", "public/pagefind/**"] },
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue