Skip to content

Commit

Permalink
Also run Prettier on JS files when committing
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinnl authored and dependabot[bot] committed Jan 28, 2025
1 parent e55f436 commit c4d4069
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 @@ -11,5 +11,5 @@ const buildEslintCommand = (filenames) =>
export default {
"*.{js,cjs,mjs,jsx,ts,tsx}": [buildEslintCommand],
"*.{scss,css}": "stylelint --allow-empty-input --fix",
"*.{ts,tsx,jsx,cjs,mjs,scss,css,md,html}": "prettier --write",
"*.{js,ts,tsx,jsx,cjs,mjs,scss,css,md,html}": "prettier --write",
};

0 comments on commit c4d4069

Please sign in to comment.