Fix Linting Pre-Commit Hook (#9654)
This commit is contained in:
parent
0c49d7dff7
commit
462aa91652
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ module.exports = {
|
|||
.join(' ')
|
||||
return [
|
||||
`prettier --write ${escapedFileNames}`,
|
||||
`eslint --fix ${filenames.map(f => `"${f}"`).join(' ')}`,
|
||||
`eslint --max-warnings=0 --fix ${filenames.map(f => `"${f}"`).join(' ')}`,
|
||||
`git add ${escapedFileNames}`,
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue