Skip to content

Commit

Permalink
tweak: yarn => npx
Browse files Browse the repository at this point in the history
  • Loading branch information
saltyshiomix committed Feb 3, 2024
1 parent fe38e85 commit b050241
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lint-staged.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

export default {
'**/*.(ts|tsx|js)': (filenames) => [
`yarn eslint --fix ${filenames.join(' ')}`,
`yarn prettier --write ${filenames.join(' ')}`,
`npx eslint --fix ${filenames.join(' ')}`,
`npx prettier --write ${filenames.join(' ')}`,
],
'**/*.(md|json)': (filenames) =>
`yarn prettier --write ${filenames.join(' ')}`,
`npx prettier --write ${filenames.join(' ')}`,
}

0 comments on commit b050241

Please sign in to comment.