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.
This commit is contained in:
Ralph Hopman
2024-12-18 17:12:03 +01:00
committed by Adam Saghy
parent 0f6dac9089
commit 6203ada3b6
8 changed files with 643 additions and 27 deletions
+1
View File
@@ -49,6 +49,7 @@ testem.log
/typings
/reports
/src/translations/template.*
.eslintcache
# System Files
.DS_Store