Check out lint-staged in npm. You can configure it so it will run even if the files aren’t staged, thus linting any changed files.
Check out lint-staged in npm. You can configure it so it will run even if the files aren’t staged, thus linting any changed files.