summaryrefslogtreecommitdiff
path: root/frontend/package.json
diff options
context:
space:
mode:
authorJoe Carstairs <jcarstairs@scottlogic.com>2023-08-02 18:56:45 +0100
committerJoe Carstairs <jcarstairs@scottlogic.com>2023-08-02 18:57:52 +0100
commit75629128bba7f5a83b0e8714685f8e481c7cae2f (patch)
tree27d3c01139b32f02653009b57f851cef382c9077 /frontend/package.json
parent498acb77f2f7c44c1c98beed9147fb8e2eb966f7 (diff)
Installs ESLint
Diffstat (limited to 'frontend/package.json')
-rw-r--r--frontend/package.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/package.json b/frontend/package.json
index 1a71c52..3f4f284 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -7,6 +7,7 @@
"build": "astro build",
"preview": "astro preview",
"astro": "astro",
+ "lint": "eslint .",
"format": "prettier ./**/* --check",
"format--write": "prettier ./**/* --write"
},
@@ -14,6 +15,10 @@
"astro": "^2.9.7"
},
"devDependencies": {
+ "@typescript-eslint/eslint-plugin": "^6.2.1",
+ "@typescript-eslint/parser": "^6.2.1",
+ "eslint": "^8.46.0",
+ "eslint-plugin-astro": "^0.28.0",
"prettier": "^3.0.0",
"prettier-plugin-astro": "^0.11.0"
}