c-frame/aframe-gltf-model-plus

Add husky/lint-staged with prettier

vincentfretin opened this issue · 3 comments

Add husky/lint-staged with prettier in the repo to format files on commit.

And also eslint, it currently doesn't detect undefined variables like in my project, I was bit by it.

I didn't add husky/lint-staged to make things simple.
I just added the npm run prettier command and npm run lint command.

@uhunkler be sure to have eslint and prettier addons installed in vscode.