Skip to content

Commit

Permalink
fix: we need to actually prettify JS files as well
Browse files Browse the repository at this point in the history
it's not done by xo
  • Loading branch information
mfranzke committed Nov 17, 2023
1 parent f5a7659 commit 986da0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .lintstagedrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ export default {
'npm run update:icon-fonts',
'*.md': 'markdownlint -c .markdown-lint.yml',
'*.{css,scss}': 'stylelint --fix',
'*.{js,ts,tsx}': 'xo --fix',
'*.{js,ts,tsx}': ['prettier --write', 'xo --fix'],
'!*.{js,ts,tsx}': 'prettier --write --ignore-unknown'
};

0 comments on commit 986da0a

Please sign in to comment.