mirror of https://github.com/waku-org/js-waku.git
Get eslint to fix files in precommit git hook
We need the hook to fix things when possible.
This commit is contained in:
parent
35414eaffd
commit
8029200984
|
@ -162,8 +162,7 @@
|
||||||
],
|
],
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.ts": [
|
"*.ts": [
|
||||||
"eslint",
|
"eslint --fix"
|
||||||
"prettier --write"
|
|
||||||
],
|
],
|
||||||
"*.{ts,json,conf.js}": [
|
"*.{ts,json,conf.js}": [
|
||||||
"prettier --write"
|
"prettier --write"
|
||||||
|
|
Loading…
Reference in New Issue