Skip to content

Commit

Permalink
chore: refactor .lintstagedrc.js (#546)
Browse files Browse the repository at this point in the history
  • Loading branch information
liaoliaots authored Sep 21, 2024
1 parent 1b4a72b commit 8f6b9f9
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const jestFiles = ['packages/*/test/**/*', 'packages/*/lib/**/*.spec.ts'];

export default tseslint.config(
{
ignores: ['eslint.config.js', 'packages/*/dist/', 'packages/*/*.js']
ignores: ['eslint.config.js', 'packages/*/dist/', 'packages/*/*.mjs']
},
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
Expand Down
3 changes: 0 additions & 3 deletions packages/node-redis/.lintstagedrc.js

This file was deleted.

3 changes: 3 additions & 0 deletions packages/node-redis/.lintstagedrc.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default {
'*.ts': ['prettier --write', 'eslint', () => 'tsc --project tsconfig.build.json --noEmit']
};
3 changes: 0 additions & 3 deletions packages/redis-health/.lintstagedrc.js

This file was deleted.

3 changes: 3 additions & 0 deletions packages/redis-health/.lintstagedrc.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default {
'*.ts': ['prettier --write', 'eslint', () => 'tsc --project tsconfig.build.json --noEmit']
};
3 changes: 0 additions & 3 deletions packages/redis/.lintstagedrc.js

This file was deleted.

3 changes: 3 additions & 0 deletions packages/redis/.lintstagedrc.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default {
'*.ts': ['prettier --write', 'eslint', () => 'tsc --project tsconfig.build.json --noEmit']
};

0 comments on commit 8f6b9f9

Please sign in to comment.