Skip to content

Linting/formatting not working as expected with lint-staged #1611

Closed Answered by viveleroi
viveleroi asked this question in Q&A
Discussion options

You must be logged in to vote

It needs to use commas, which showed in your example but I originally missed - but the docs show pipes so they are wrong.

"*.{js,ts,cjs,mjs,d.mts,jsx,tsx,json,jsonc}"

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@viveleroi
Comment options

@viveleroi
Comment options

Answer selected by Conaclos
@Conaclos
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants