lint-staged.config.js (3 lines of code) (raw):

module.exports = { // TODO: make this `lint:fix` if ever added to `pre-commit` // using in `commit-msg` doesn't save fixed changes so // in the meantime should error on bad linting when committing '*.{js,ts,tsx}': 'cross-env NODE_ENV=production eslint --quiet', };