small fixes

This commit is contained in:
Rik Berkelder 2021-01-23 21:32:30 +01:00
parent 19b3424971
commit 1d32299fd4
3 changed files with 10 additions and 8 deletions

View file

@ -44,12 +44,14 @@
"typedoc": "^0.20.16",
"typescript": "^4.1.3"
},
"lint-staged": {
"src/**/*.{ts}": "eslint ./src --fix"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
"pre-commit": [
"lint-staged"
]
}
},
"lint-staged": {
"src/**/*.{js,ts}": "eslint ./src --fix --ext .js,.ts"
}
}