{"id":16048296,"url":"https://github.com/jbz797/eslint-config-angular-strict","last_synced_at":"2025-03-17T16:31:29.897Z","repository":{"id":43103859,"uuid":"497978571","full_name":"Jbz797/eslint-config-angular-strict","owner":"Jbz797","description":" Stricts rules to enforce a consistent code style for Angular development","archived":false,"fork":false,"pushed_at":"2024-11-19T10:59:06.000Z","size":102,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T13:01:36.864Z","etag":null,"topics":["angular","eslint","eslint-plugin","linting-rules","stricts-rules","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jbz797.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-30T14:31:48.000Z","updated_at":"2024-11-19T10:59:10.000Z","dependencies_parsed_at":"2023-11-24T12:26:45.170Z","dependency_job_id":"833eb99a-77b9-4a03-8c73-f7f46eb12161","html_url":"https://github.com/Jbz797/eslint-config-angular-strict","commit_stats":{"total_commits":70,"total_committers":1,"mean_commits":70.0,"dds":0.0,"last_synced_commit":"4959915ba63ae62ebce8741f6bf869da8ad7fac5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jbz797%2Feslint-config-angular-strict","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jbz797%2Feslint-config-angular-strict/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jbz797%2Feslint-config-angular-strict/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jbz797%2Feslint-config-angular-strict/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jbz797","download_url":"https://codeload.github.com/Jbz797/eslint-config-angular-strict/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244068852,"owners_count":20392904,"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","eslint","eslint-plugin","linting-rules","stricts-rules","typescript"],"created_at":"2024-10-09T00:06:03.499Z","updated_at":"2025-03-17T16:31:29.559Z","avatar_url":"https://github.com/Jbz797.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cbr\u003e\n\n\u003ch1 align=\"center\"\u003eAngular Strict ESLint\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003eStricts rules to enforce a consistent code style for \u003cstrong\u003eAngular\u003c/strong\u003e development\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.npmjs.com/package/eslint-config-angular-strict\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/eslint-config-angular-strict/latest.svg\" alt=\"NPM Version\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/Jbz797/eslint-config-angular-strict/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/eslint-config-angular-strict.svg\" alt=\"GitHub license\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/eslint-config-angular-strict\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/eslint-config-angular-strict.svg\" alt=\"NPM Downloads\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n## Installation\n\nℹ️ `eslint` dependencies are included, so you can remove all `eslint` related dependencies from your project.\n\n```sh\nnpm install eslint-config-angular-strict --save-dev\n```\n\nor\n\n```sh\nyarn add eslint-config-angular-strict --dev\n```\n\n## Configure ESLint\n\nWithin your **ESLint** config file:\n\n```javascript\n{\n  \"root\": true,\n  \"overrides\": [\n    {\n      \"extends\": [\"angular-strict/typescript\"],\n      \"files\": [\"*.ts\"],\n      \"parserOptions\": {\n        \"project\": [\"./tsconfig.json\"] // Specify your tsconfig relative path\n      }\n    },\n    {\n      \"extends\": [\"angular-strict/template\"],\n      \"files\": [\"*.html\"]\n    }\n  ]\n}\n```\n\n## Configuring Eslint for Typescript only projects\n\nWithin your **ESLint** config file:\n\n```javascript\n{\n  \"root\": true,\n  \"overrides\": [\n    {\n      \"extends\": [\"angular-strict/typescript\"],\n      \"files\": [\"*.ts\"],\n      \"parserOptions\": {\n        \"project\": [\"./tsconfig.json\"] // Specify your tsconfig relative path\n      }\n    }\n  ]\n}\n```\n\n## Tsconfig\n\nFor better consistency, please add this options to your `tsconfig.json`:\n\n```javascript\n{\n  \"compilerOptions\": {\n    (...),\n    \"forceConsistentCasingInFileNames\": true, // Ensure that casing is correct in imports\n    \"noImplicitAny\": true, // Enable error reporting for expressions and declarations with an implied any type\n    \"noImplicitOverride\": true, // Ensure overriding members in derived classes are marked with an override modifier\n    \"strict\": true // Enable all strict type checking options\n  },\n  \"angularCompilerOptions\": {\n    \"strictInjectionParameters\": true, // Reports an error for a supplied parameter whose injection type cannot be determined\n    \"strictInputAccessModifiers\": true, // Whether access modifiers such as private/protected/readonly are honored when assigning a binding expression to an @Input()\n    \"strictTemplates\": true // Enables strict template type checking\n  }\n}\n```\n\n## Extends\n\n- [@angular-eslint](https://github.com/angular-eslint/angular-eslint)\n- [@typescript-eslint](https://github.com/typescript-eslint/typescript-eslint)\n- [airbnb-typescript](https://github.com/iamturns/eslint-config-airbnb-typescript)\n- [airbnb](https://github.com/airbnb/javascript)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbz797%2Feslint-config-angular-strict","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbz797%2Feslint-config-angular-strict","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbz797%2Feslint-config-angular-strict/lists"}