From 403a4df40d4ae085b6fe8908e480b79e7c8202df Mon Sep 17 00:00:00 2001 From: Patrick Cate Date: Thu, 14 Mar 2024 23:47:34 -0400 Subject: [PATCH] build: update npm scripts to autofix eslint --- .eslintignore | 3 +++ package.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.eslintignore b/.eslintignore index de4d1f0..e00db3e 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,2 +1,5 @@ dist node_modules +.nuxt +.output +coverage diff --git a/package.json b/package.json index 7bf7eca..7b43a29 100644 --- a/package.json +++ b/package.json @@ -44,9 +44,10 @@ "dev:build": "nuxi build playground", "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground", "release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags", - "lint": "eslint .", + "lint": "eslint --fix --ext .js,.cjs,.mjs,.ts,.vue .", "test": "vitest run", "test:watch": "vitest watch --disable-console-intercept", + "types": "tsc --noEmit", "prepare": "husky", "commit": "cz" },