Skip to content

Commit

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

After vercel#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 authored and elitan committed Dec 6, 2022
1 parent de40571 commit 81cfd3a
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

0 comments on commit 81cfd3a

Please sign in to comment.