diff --git a/lint-staged.config.js b/lint-staged.config.js index d7d069f945..162627b5d9 100644 --- a/lint-staged.config.js +++ b/lint-staged.config.js @@ -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) => [