summaryrefslogtreecommitdiff
path: root/eslint.config.js
diff options
context:
space:
mode:
authorseth <[email protected]>2024-10-09 10:59:13 -0400
committerGitHub <[email protected]>2024-10-09 10:59:13 -0400
commitd17bca56238e9ca326d60e58230d0d354f23bfe8 (patch)
tree12aee4c37a1490914e6307ce1b0023be2df93105 /eslint.config.js
parent7d6495399d5e1ba429a339de1c3a00f121e89305 (diff)
back to astro for hopefully the last time (#146)
Diffstat (limited to 'eslint.config.js')
-rw-r--r--eslint.config.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/eslint.config.js b/eslint.config.js
new file mode 100644
index 0000000..cff6a76
--- /dev/null
+++ b/eslint.config.js
@@ -0,0 +1,16 @@
+import eslint from "@eslint/js";
+import teslint from "typescript-eslint";
+import astro from "eslint-plugin-astro";
+import prettier from "eslint-config-prettier";
+
+export default teslint.config(
+ eslint.configs.recommended,
+ ...teslint.configs.strict,
+ ...teslint.configs.stylistic,
+ ...astro.configs.recommended,
+ ...astro.configs["jsx-a11y-strict"],
+ prettier,
+ {
+ ignores: ["src/env.d.ts"]
+ }
+);