From 28f72640d720af6bbb51f94cf851fe2c50a5b9ab Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sun, 7 Apr 2024 11:22:20 -0600 Subject: [PATCH] add linting before any build --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f33d2c6..376b9ac 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "vite", "serve": "vite preview", - "build": "vite build", + "build": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src && vite build", "lint": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src", "lint-fix": "eslint --ext .js,.ts,.vue --ignore-path .gitignore --fix src" },