Skip to content

Commit

Permalink
feat: allow lintstaged to pass with no matching tests
Browse files Browse the repository at this point in the history
  • Loading branch information
codfish committed Jun 11, 2023
1 parent 6c005f3 commit 027b374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/lintstagedrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ module.exports = {
].filter(Boolean),
'*.+(js|jsx|ts|tsx)': [
`${codScripts} lint --fix`,
`${codScripts} test --findRelatedTests`,
`${codScripts} test --findRelatedTests --passWithNoTests`,
].filter(Boolean),
}

0 comments on commit 027b374

Please sign in to comment.