Skip to content

Commit

Permalink
Merge pull request #562 from noi-techpark/husky-prevent-commit-on-warn
Browse files Browse the repository at this point in the history
Do not commit code that contains linting warnings
  • Loading branch information
RudiThoeni committed Apr 22, 2024
2 parents f81aef3 + b886c33 commit 0c31a90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions databrowser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"serve": "vite preview",
"lint": "eslint --cache --ext .ts,.vue src",
"lint:fix": "eslint --cache --ext .ts,.vue --fix src",
"lint": "eslint --cache --max-warnings 0 --ext .ts,.vue src",
"lint:fix": "eslint --cache --max-warnings 0 --ext .ts,.vue --fix src",
"prepare": "cd .. && husky install"
},
"dependencies": {
Expand Down Expand Up @@ -61,4 +61,4 @@
"vite": "^5.0.11",
"vue-tsc": "^1.8.27"
}
}
}

0 comments on commit 0c31a90

Please sign in to comment.