tanstack-router-quickstart/lint-staged.config.js

9 lines
175 B
JavaScript

module.exports = {
'*.json': ['npm run format:check'],
'*.{ts,tsx,js,jsx}': [
'npm run lint',
"bash -c 'npm run types:check'",
'npm run format:check',
],
};