We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c0407f commit 5a2173bCopy full SHA for 5a2173b
1 file changed
lint-staged.config.js
@@ -3,8 +3,7 @@ module.exports = {
3
'*.{js,ts,tsx}': 'eslint --cache',
4
5
// FIXME https://github.com/microsoft/TypeScript/issues/27379
6
- '*.{ts,tsx}':
7
- 'tsc --noEmit --esModuleInterop --jsx preserve --strict --noUnusedLocals --noUnusedParameters --noImplicitReturns --noFallthroughCasesInSwitch --forceConsistentCasingInFileNames',
+ '*.{ts,tsx}': () => 'tsc',
8
9
'*.scss': 'stylelint --cache'
10
};
0 commit comments