Skip to content

Commit

Permalink
Update lint-staged behavior. (#2904)
Browse files Browse the repository at this point in the history
Before #2859:
`eslint --quiet --fix`

After #2859:
`pnpm run lint --quiet --fix --`
=>
`eslint . --ext js,jsx,ts,tsx --quiet --fix --`

After this:
`eslint --ext js,jsx,ts,tsx --quiet --fix --`

Removes the sneaky `.`.
  • Loading branch information
nathanhammond committed Dec 2, 2022
1 parent 336ea22 commit b8c0c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"pnpm run lint --quiet --fix --",
"eslint --ext js,jsx,ts,tsx --quiet --fix --",
"prettier --write"
],
"*.{md,mdx,mjs,yml,yaml,css}": [
Expand Down

1 comment on commit b8c0c3c

@vercel
Copy link

@vercel vercel bot commented on b8c0c3c Dec 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.