{"library":"ng-lint-staged","title":"ng-lint-staged","description":"ng-lint-staged is a shim that transforms the file list from lint-staged into the appropriate CLI option for Angular's lint builder. Version 12.0.4 supports the @angular-eslint/builder:lint with --lint-file-patterns flag. It handles the argument transformation needed because lint-staged provides a flat list of files while Angular expects a specific format. Regularly updated to support newer Angular versions. Key differentiator: eliminates the need for manual file mapping scripts when using lint-staged with Angular projects.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install ng-lint-staged"],"cli":null},"imports":["import ngLintStaged from 'ng-lint-staged'","npx ng-lint-staged lint --fix --","\"src/**/*.ts\": [\"ng-lint-staged lint --fix --\"]"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// In package.json, add lint-staged configuration:\n// \"lint-staged\": {\n//   \"src/**/*.ts\": [\"ng-lint-staged lint --fix --\"]\n// }\n// Then run: npx lint-staged","lang":"javascript","description":"Configure lint-staged to use ng-lint-staged for linting staged .ts files with Angular CLI.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}