Skip to content

Commit

Permalink
fix(lint-staged): option 'emitDeclarationOnly' cannot be specified wi…
Browse files Browse the repository at this point in the history
…th option 'noEmit'
  • Loading branch information
RodrigoTomeES committed May 30, 2023
1 parent d37b1bf commit 1393e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lint-staged.config.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const config = {
'**/*.(ts|tsx)': () => 'yarn tsc --noEmit',
'**/*.(ts|tsx)': () => 'yarn tsc',

'**/*.(ts|tsx|js|cjs|mjs|jsx|astro)': (filenames) => [
`yarn lint --fix ${filenames.join(' ')}`,
Expand Down

0 comments on commit 1393e56

Please sign in to comment.