summaryrefslogtreecommitdiff
path: root/frontend/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/.eslintrc.json')
-rw-r--r--frontend/.eslintrc.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/frontend/.eslintrc.json b/frontend/.eslintrc.json
new file mode 100644
index 0000000..6e3410d
--- /dev/null
+++ b/frontend/.eslintrc.json
@@ -0,0 +1,28 @@
+{
+ "env": {
+ "browser": true,
+ "es2021": true
+ },
+ "extends": [
+ "eslint:recommended",
+ "plugin:astro/recommended",
+ "plugin:@typescript-eslint/recommended"
+ ],
+ "overrides": [
+ {
+ "files": ["*.astro"],
+ "parser": "astro-eslint-parser",
+ "parserOptions": {
+ "parser": "@typescript-eslint/parser",
+ "extraFileExtensions": [".astro"]
+ }
+ }
+ ],
+ "parser": "@typescript-eslint/parser",
+ "parserOptions": {
+ "ecmaVersion": "latest",
+ "sourceType": "module"
+ },
+ "plugins": ["@typescript-eslint"],
+ "rules": {}
+}