591: Get eslint to fix files in precommit git hook r=D4nte a=D4nte

We need the hook to fix things when possible.

Co-authored-by: Franck Royer <franck@status.im>
This commit is contained in:
status-bors-ng[bot] 2022-03-02 02:35:57 +00:00 committed by GitHub
commit 6b0b71f08b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -162,8 +162,7 @@
],
"lint-staged": {
"*.ts": [
"eslint",
"prettier --write"
"eslint --fix"
],
"*.{ts,json,conf.js}": [
"prettier --write"