Unverified Commit 462aa916 authored by Joe Haddad's avatar Joe Haddad Committed by GitHub

Fix Linting Pre-Commit Hook (#9654)

parent 0c49d7df
...@@ -8,7 +8,7 @@ module.exports = { ...@@ -8,7 +8,7 @@ module.exports = {
.join(' ') .join(' ')
return [ return [
`prettier --write ${escapedFileNames}`, `prettier --write ${escapedFileNames}`,
`eslint --fix ${filenames.map(f => `"${f}"`).join(' ')}`, `eslint --max-warnings=0 --fix ${filenames.map(f => `"${f}"`).join(' ')}`,
`git add ${escapedFileNames}`, `git add ${escapedFileNames}`,
] ]
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment