Skip to content

Commit

Permalink
fix: run eslint cli add option
Browse files Browse the repository at this point in the history
  • Loading branch information
VicSolWang committed Nov 21, 2023
1 parent a9bdef9 commit da72b81
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lint-staged.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
*/

export default {
'**/*.{vue,js,ts}': ['prettier --write --list-different', 'eslint --fix'],
'**/*.{vue,js,ts}': [
'prettier --write --list-different',
'eslint --no-error-on-unmatched-pattern --fix',
],
'**/*.json': ['prettier --write --list-different'],
};

0 comments on commit da72b81

Please sign in to comment.