Add husky/lint-staged with prettier
vincentfretin opened this issue · 3 comments
vincentfretin commented
Add husky/lint-staged with prettier in the repo to format files on commit.
vincentfretin commented
And also eslint, it currently doesn't detect undefined variables like in my project, I was bit by it.
vincentfretin commented
I didn't add husky/lint-staged to make things simple.
I just added the npm run prettier
command and npm run lint
command.
vincentfretin commented
@uhunkler be sure to have eslint and prettier addons installed in vscode.