Browse Source

add linting before any build

kb/add-usage-guide
Trent Larson 6 months ago
parent
commit
28f72640d7
  1. 2
      package.json

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

Loading…
Cancel
Save