Skip to content

Commit 96f3281

Browse files
authored
refactor(lint-staged): we want to include dev audit fixes
As the current existing `npm audit` problems for devDependencies are harder to solve.
1 parent 5f88319 commit 96f3281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.config/.lintstagedrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ export default {
1010
'*.{css,scss}': 'stylelint --fix --allow-empty-input --no-validate',
1111
'*.{js,ts,tsx,jsx,mjs,cjs}': 'xo --fix',
1212
// ensure that security vulnerabilities are fixed before committing
13-
'package-lock.json': 'npm audit fix'
13+
'package-lock.json': 'npm audit fix --omit=dev'
1414
};

0 commit comments

Comments
 (0)