Skip to content

Commit 6203ada

Browse files
rhopmanadamsaghy
authored andcommitted
build: Use lint-staged
Introducing lint-staged with husky to lint files before they are committed. This will help maintain the code standards in the project. Also fixes some linting issues that were introduced in other PRs. HTML files should be included after current issues with htmlhint are fixed.
1 parent 0f6dac9 commit 6203ada

File tree

8 files changed

+643
-27
lines changed

8 files changed

+643
-27
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ testem.log
4949
/typings
5050
/reports
5151
/src/translations/template.*
52+
.eslintcache
5253

5354
# System Files
5455
.DS_Store

.husky/pre-commit

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx lint-staged

0 commit comments

Comments
 (0)