Skip to content

Commit 8449c23

Browse files
authored
Configure standard and ts-standard as linter and formatter for JS and TS (#918)
The linter and formatter configuration in the pre-commit hook helps with standardisation of the code and avoiding programming errors. Moving the configuration to use `standard` and `ts-standard` instead of `eslint` avoids manage different libraries and plugins. Thus it enables an easier project maintenance.
1 parent b1be5ff commit 8449c23

File tree

17 files changed

+19278
-22625
lines changed

17 files changed

+19278
-22625
lines changed

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run lint-staged

0 commit comments

Comments
 (0)