add astro and configure some things

This commit is contained in:
itsMapleLeaf
2023-03-12 13:20:49 -05:00
parent fbab145f39
commit eb0409f1a2
11 changed files with 2052 additions and 752 deletions

View File

@@ -13,6 +13,7 @@ module.exports = {
],
parserOptions: {
project: require.resolve("./tsconfig.base.json"),
extraFileExtensions: [".astro"],
},
overrides: [
{
@@ -21,5 +22,12 @@ module.exports = {
project: require.resolve("./packages/website/cypress/tsconfig.json"),
},
},
{
files: ["*.astro"],
parser: "astro-eslint-parser",
parserOptions: {
parser: "@typescript-eslint/parser",
},
},
],
}