summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorJoe Carstairs <jcarstairs@scottlogic.com>2023-08-02 19:06:38 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-03 08:05:11 +0100
commitd7009367147fb8b841b9717c5807d04240292cdd (patch)
treee9bb3fc634b4adab97a57d6d1dc0f20c1c830f57 /package.json
parent75629128bba7f5a83b0e8714685f8e481c7cae2f (diff)
Move code quality tools to root directory
Diffstat (limited to 'package.json')
-rw-r--r--package.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..66dd0f0
--- /dev/null
+++ b/package.json
@@ -0,0 +1,15 @@
+{
+ "scripts": {
+ "lint": "eslint .",
+ "format": "prettier ./**/* --check",
+ "format--write": "prettier ./**/* --write"
+ },
+ "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"
+ }
+} \ No newline at end of file