Skip to content

Commit

Permalink
chore: Fix pre-lint command
Browse files Browse the repository at this point in the history
  • Loading branch information
garethfuller committed Dec 18, 2024
1 parent 5ed5650 commit cdb2ffb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,6 @@ next-env.d.ts
.env.sentry-build-plugin

# for packages/lib
generated/
generated/
.eslintcache
.prettiercache
3 changes: 2 additions & 1 deletion apps/beets-frontend-v3/.lintstagedrc.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export default {
'*.{js,jsx,ts,tsx}': ['bash -c "pnpm lint:fix"'],
'*.{js,jsx,ts,tsx}': "eslint --fix --cache --max-warnings 0",
'**/*.ts?(x)': 'bash -c "pnpm typecheck"',
'*.{md,json,yaml,ts,tsx}': 'prettier --write',
'*.css': 'stylelint --fix',
}

2 changes: 1 addition & 1 deletion apps/frontend-v3/.lintstagedrc.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default {
'*.{js,jsx,ts,tsx}': ['bash -c "pnpm lint:fix"'],
'*.{js,jsx,ts,tsx}': "eslint --fix --cache --max-warnings 0",
'**/*.ts?(x)': 'bash -c "pnpm typecheck"',
'*.{md,json,yaml,ts,tsx}': 'prettier --write',
'*.css': 'stylelint --fix',
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/.lintstagedrc.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default {
'*.{js,jsx,ts,tsx}': ['bash -c "pnpm lint:fix"'],
'*.{js,jsx,ts,tsx}': "eslint --fix --cache --max-warnings 0",
'**/*.ts?(x)': 'bash -c "pnpm typecheck"',
'*.{md,json,yaml,ts,tsx}': 'prettier --write',
'*.css': 'stylelint --fix',
Expand Down

0 comments on commit cdb2ffb

Please sign in to comment.