{"id":50372404,"url":"https://github.com/JanKru/lint-a-lot","last_synced_at":"2026-06-01T10:00:39.826Z","repository":{"id":274282099,"uuid":"879012487","full_name":"JanKru/lint-a-lot","owner":"JanKru","description":"The purpose of this package is to wrap common eslint and stylelint extensions in order to set them up as quickly as possible for a angular-project. Also this project contains a .editorconfig that should be used.","archived":false,"fork":false,"pushed_at":"2026-05-16T12:20:15.000Z","size":698,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-16T13:36:31.330Z","etag":null,"topics":["angular","eslint","stylelint","tslint"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/JanKru.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-26T18:08:37.000Z","updated_at":"2026-05-16T12:20:19.000Z","dependencies_parsed_at":"2025-07-16T21:07:33.562Z","dependency_job_id":"e6500077-023f-450c-b178-ba4d904f8041","html_url":"https://github.com/JanKru/lint-a-lot","commit_stats":null,"previous_names":["jankru/lint-a-lot"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/JanKru/lint-a-lot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanKru%2Flint-a-lot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanKru%2Flint-a-lot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanKru%2Flint-a-lot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanKru%2Flint-a-lot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JanKru","download_url":"https://codeload.github.com/JanKru/lint-a-lot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanKru%2Flint-a-lot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33769492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","stylelint","tslint"],"created_at":"2026-05-30T08:00:26.066Z","updated_at":"2026-06-01T10:00:39.820Z","avatar_url":"https://github.com/JanKru.png","language":"JavaScript","funding_links":[],"categories":["Development Utilities"],"sub_categories":["Linting"],"readme":"# Lint-a-lot\n\nLint-a-lot is an opinionated ESLint and Stylelint configuration for Angular projects using modern Flat Config.\nAlso this project contains a `.editorconfig` that should be used.\n\n## Table of Contents\n\n- [Get started](#get-started)\n  - [Install](#install)\n  - [ESLint](#eslint)\n  - [Stylelint](#stylelint)\n  - [Editorconfig](#editorconfig)\n  - [Test locally](#test-locally)\n- [Publish a new version](#publish-a-new-version)\n- [Rules overview](#rules-overview)\n  - [Es-lint `angular.tsRecommended` and `angular.htmlRecommended`](#es-lint-angulartsrecommended-and-angularhtmlrecommended)\n    - [Custom rules](#custom-rules)\n    - [Extended packages](#extended-packages)\n  - [Stylelint](#stylelint)\n\n## Get started\n\n### Install\n\nAdd dependency\n\n```bash\nnpm i --save-dev @j1n/lint-a-lot\n```\n\nThis lib supports `.cjs` and `.mjs`.\n\n### ESLint\n\nIn `eslint.config.js`:\n\n#### CommonJS\n\n```javascript\nconst lal = require(\"@j1n/lint-a-lot\");\n\nmodule.exports = [\n  ...lal.esLintConfig.configs.angular.tsRecommended,\n  ...lal.esLintConfig.configs.shared.testingVitestRecommended,\n  ...lal.esLintConfig.configs.angular.htmlRecommended,\n];\n```\n\n#### Module\n```javascript\nimport lal from '@j1n/lint-a-lot';\n\nexport default [\n  ...lal.esLintConfig.configs.angular.tsRecommended,\n  ...lal.esLintConfig.configs.shared.testingVitestRecommended,\n  ...lal.esLintConfig.configs.angular.htmlRecommended,\n]\n```\n\nCheck if you have a builder for eslint in your `angular.json`:\n\n```json\n{\n  \"lint\": {\n    \"builder\": \"@angular-eslint/builder:lint\",\n    \"options\": {\n      \"lintFilePatterns\": [\n        \"src/**/*.ts\",\n        \"src/**/*.html\",\n        \"e2e/**/*.ts\"\n      ]\n    }\n  }\n}\n```\n\n### Stylelint\n\nIn `stylelint.config.js`:\n\n#### CommonJS\n\n```javascript\nconst lal = require(\"@j1n/lint-a-lot\");\n\nmodule.exports = lal.stylelintConfig;\n```\n\n### Module\n\n```javascript\nimport lal from '@j1n/lint-a-lot';\n\nexport default lal.stylelintConfig;\n```\n\n### Editorconfig\n\nMove the `.editorconfig` file to the root of you project.\n\n### IDE-setup\n\nSee [IDE-setup](./docs/ide.md).\n\n### Test locally\n\nIf you want to test this library you can use `npm pack`. This will result in the creation of a `.tgz`-file.\n\n1. Go to the project where you want to use lint-a-lot.\n2. Open `package.json`\n3. Add lint-a-lot to `devDependencies` -\u003e `json\n  \"@j1n/lint-a-lot\": \"file:\u003cPATH_TO_YOUR_TGZ_FILE\u003e\",\n`\n4. Remove `node_modules`-Dir\n5. Remove `package-lock.json`\n6. Run `npm i`\n7. Restart IDE (especially vscode)\n\n## Publish a new version\n\n- apply your changes\n- merge your branch containing the changes to main\n- create new branch from main with  bump: version `versionumber old` → `versionumber new`\n- run `cz bump` to increase version\n- run `git push origin --tags`\n- merge to main\n- start publish pipeline manually\n\n## Rules overview\n\nOverview of rules and used plugins/configs.\n\n### Es-lint `angular.tsRecommended` and `angular.htmlRecommended`\n\n#### Custom rules\n\n- [eslint-no-console](https://eslint.org/docs/latest/rules/no-console)\n- [eslint-no-alert](https://eslint.org/docs/latest/rules/no-alert)\n- [eslint-no-debugger](https://eslint.org/docs/latest/rules/no-debugger)\n- [eslint-eqeqeq](https://eslint.org/docs/latest/rules/eqeqeq)\n- [eslint-yoda](https://eslint.org/docs/latest/rules/yoda)\n- [eslint-radix](https://eslint.org/docs/latest/rules/radix)\n- [typescript-eslint-explicit-function-return-type](https://typescript-eslint.io/rules/explicit-function-return-type/)\n- [typescript-eslint-naming-convention](https://typescript-eslint.io/rules/naming-convention/)\n\n#### Extended packages\n\n- [eslint-plugin-prettier](https://www.npmjs.com/package/eslint-plugin-prettier)\n- [typescript-eslint](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin)\n- [angular-eslint](https://github.com/angular-eslint/angular-eslint)\n- [eslint-plugin-jasmine](https://www.npmjs.com/search?q=eslint%20jasmine)\n- [eslint-plugin-import](https://www.npmjs.com/package/eslint-plugin-import)\n\n### Stylelint\n\n\u003e ⚠️ **CAUTION:** stylelint-no-unsupported-browsers-features is normally only a css linting plugin. It configured to ignore most of the rules that are \n\u003e overlapping with scss - if you think this lib would be better without this plugin let me know\n\n- [stylelint-config-standard-scss](https://www.npmjs.com/package/stylelint-config-standard-scss), [details](./docs/stylelint-no-unsupported-browsers-features.md)\n- [stylelint-order](https://www.npmjs.com/package/stylelint-order)\n- [stylelint-config-clean-order](https://www.npmjs.com/package/stylelint-config-clean-order)\n- [stylelint-no-unsupported-browsers-features](https://www.npmjs.com/package/stylelint-no-unsupported-browser-features)\n- [stylelint-prettier](https://www.npmjs.com/package/stylelint-prettier)\n- [stylelint-plugin-logical-css](https://www.npmjs.com/package/stylelint-plugin-logical-css)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJanKru%2Flint-a-lot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJanKru%2Flint-a-lot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJanKru%2Flint-a-lot/lists"}