Closed ianhi closed 4 years ago
add husky and lint-stagedto dev dependencies and set it up so that when you run git commit all ts and tsx files will be linted.
husky
lint-staged
Should maybe remove the tsx files as this isn't a react project.
cc @noahhi heads up about this, hopefully this should just work. but if you use git from some gui and that gui doesn't have the yarn or npm in it's path then it may not work, so worth looking into.
add
husky
andlint-staged
to dev dependencies and set it up so that when you run git commit all ts and tsx files will be linted.Should maybe remove the tsx files as this isn't a react project.