Skip to content

Commit 79dce53

Browse files
Update lint staged so it pass with changed files has no tests
1 parent f9f495b commit 79dce53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lint-staged.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const lintStagedConfig = {
33
"*.{js,json,md,ts,yaml,yml}": "npm run format:write",
44
"*.{js,ts}": ["npm run lint:fix"],
55
// run testing on all supported file types within the src/ directory
6-
"src/**/*.{js,ts}": ["npm run test -- --findRelatedTests"],
6+
"src/**/*.{js,ts}": ["npm run test -- --findRelatedTests --passWithNoTests"],
77
};
88

99
export default lintStagedConfig;

0 commit comments

Comments
 (0)