add linting before any build

This commit is contained in:
2024-04-07 11:22:20 -06:00
parent ab81648aca
commit 28f72640d7

View File

@@ -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"
},