Skip to content

Commit

Permalink
undo optimization for better clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaffter committed Sep 22, 2024
1 parent a3d8f99 commit 8fd275e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lint-staged.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ module.exports = {
// Format files with Black
`poetry run black ${filenames.join(' ')}`,
// Lint the projects affected by the staged files
`nx affected --target=lint --files=${filenames.join(',')}`,
// Type check the projects affected by the staged files
`nx affected --target=lint,type-check --files=${filenames.join(',')}`,
`nx affected --target=type-check --files=${filenames.join(',')}`,
],

'**/*[dD]ockerfile*': (filenames) => [
Expand Down

0 comments on commit 8fd275e

Please sign in to comment.