Initial commit from Astro
This commit is contained in:
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/**"] },
|
||||
];
|
||||
Reference in New Issue
Block a user