{"id":13848608,"url":"https://github.com/mgechev/tslint-angular","last_synced_at":"2025-04-05T17:04:30.768Z","repository":{"id":57381541,"uuid":"116504281","full_name":"mgechev/tslint-angular","owner":"mgechev","description":"Recommended tslint configuration for Angular applications.","archived":false,"fork":false,"pushed_at":"2020-08-14T22:25:57.000Z","size":18,"stargazers_count":162,"open_issues_count":2,"forks_count":20,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-29T06:48:33.436Z","etag":null,"topics":["angular","codelyzer","tslint"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mgechev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-06T18:00:46.000Z","updated_at":"2025-03-19T13:02:54.000Z","dependencies_parsed_at":"2022-09-14T17:42:43.697Z","dependency_job_id":null,"html_url":"https://github.com/mgechev/tslint-angular","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Ftslint-angular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Ftslint-angular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Ftslint-angular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Ftslint-angular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mgechev","download_url":"https://codeload.github.com/mgechev/tslint-angular/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247369953,"owners_count":20927928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","codelyzer","tslint"],"created_at":"2024-08-04T19:00:53.958Z","updated_at":"2025-04-05T17:04:30.736Z","avatar_url":"https://github.com/mgechev.png","language":null,"readme":"# Angular TSLint Preset\n\nA preset with TSLint rules for development of Angular applications. The preset contains both, tslint core rules, and [codelyzer](https://github.com/mgechev/codelyzer) rules, which are going to perform Angular specific linting.\n\nThis package is based on the tslint configuration of [Angular CLI](https://github.com/angular/angular-cli) and aligns with the [Angular style guide](https://angular.io/guide/styleguide).\n\n**Note:** there are few more rules added on top of the Angular CLI configuration.\n\n## How to use?\n\n```bash\nnpm i tslint-angular --save-dev\n```\n\nAfter that configure `tslint.json` to use the preset:\n\n```json\n{\n  \"extends\": [\"tslint-angular\"],\n  \"rules\": {\n    \"directive-selector\": [true, \"attribute\", \"foo\", \"camelCase\"],\n    \"component-selector\": [true, \"element\", \"foo\", \"kebab-case\"]\n  }\n}\n```\n\n**Notice** that `directive-selector` and `component-selector` are configurable so you need to add them manually in the `rules` section of `tslint.json`.\n\n## License\n\nMIT\n\n","funding_links":[],"categories":["`👷 Configuring Your Project`"],"sub_categories":["TSLint (⚠️ Deprecated from Angular 11)"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgechev%2Ftslint-angular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgechev%2Ftslint-angular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgechev%2Ftslint-angular/lists"}