bocoup / sb-util

sb-util, a library that can query Scratch projects via *.sb3 and project.json files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set up TypeScript linting

evmiguel opened this issue · comments

Choose a linter for the project and use it to validate changes to files

One option would be for us to use https://prettier.io. As far as I have experienced, prettier will fix any linting errors. eslint as another option can fix a subset of its linting errors to my knowledge. I am not sure but I prettier can do it because it provides less linting customizations.

So that would be a downside, we would have to stick to most of prettiers opinions. The one default that I would change, and that prettier lets you change, is dangling commas. We should use dangling commas.