{"id":29230260,"url":"https://github.com/timobechtel/eslint-plugin-rules","last_synced_at":"2025-07-03T13:09:55.337Z","repository":{"id":300219037,"uuid":"1005565688","full_name":"TimoBechtel/eslint-plugin-rules","owner":"TimoBechtel","description":"Collection of useful eslint rules","archived":false,"fork":false,"pushed_at":"2025-06-20T13:03:22.000Z","size":91,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-20T13:46:03.461Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/TimoBechtel.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-20T12:35:04.000Z","updated_at":"2025-06-20T13:03:25.000Z","dependencies_parsed_at":"2025-06-20T13:46:05.212Z","dependency_job_id":"9511b429-2ee1-404f-a121-64428efb7061","html_url":"https://github.com/TimoBechtel/eslint-plugin-rules","commit_stats":null,"previous_names":["timobechtel/eslint-plugin-rules"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/TimoBechtel/eslint-plugin-rules","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimoBechtel%2Feslint-plugin-rules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimoBechtel%2Feslint-plugin-rules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimoBechtel%2Feslint-plugin-rules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimoBechtel%2Feslint-plugin-rules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimoBechtel","download_url":"https://codeload.github.com/TimoBechtel/eslint-plugin-rules/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimoBechtel%2Feslint-plugin-rules/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263331840,"owners_count":23450158,"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":[],"created_at":"2025-07-03T13:09:50.444Z","updated_at":"2025-07-03T13:09:55.325Z","avatar_url":"https://github.com/TimoBechtel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @timobechtel/eslint-plugin-rules\n\nCollection of useful eslint rules\n\n## Installation\n\nYou'll first need to install [ESLint](https://eslint.org/):\n\n```sh\nnpm i eslint --save-dev\n```\n\nNext, install `@timobechtel/eslint-plugin-rules`:\n\n```sh\nnpm install @timobechtel/eslint-plugin-rules --save-dev\n```\n\n## Usage\n\nHere's an example ESLint configuration that enables all rules.\n\n### `eslintrc.cjs`\n\n```js\nmodule.exports = {\n    extends: ['plugin:@timobechtel/rules/all'],\n}\n```\n\n### `eslint.config.cjs` (requires eslint\u003e=v8.23.0)\n\n```js\nconst plugin = require('@timobechtel/eslint-plugin-rules');\n\nmodule.exports = {\n    ...plugin.configs['flat/all'],\n}\n```\n\n## Configurations\n\n\u003c!-- begin auto-generated configs list --\u003e\n\n|    | Name       |\n| :- | :--------- |\n| 🌐 | `all`      |\n|    | `flat/all` |\n\n\u003c!-- end auto-generated configs list --\u003e\n\n## Rules\n\n\u003c!-- begin auto-generated rules list --\u003e\n\n💼 Configurations enabled in.\\\n🌐 Set in the `all` configuration.\\\n💡 Manually fixable by [editor suggestions](https://eslint.org/docs/latest/use/core-concepts#rule-suggestions).\n\n| Name                                                                             | Description                                        | 💼                     | 💡 |\n| :------------------------------------------------------------------------------- | :------------------------------------------------- | :--------------------- | :- |\n| [no-optional-chaining-comparison](docs/rules/no-optional-chaining-comparison.md) | Disallow optional chaining in comparison operators | 🌐 ![badge-flat/all][] | 💡 |\n\n\u003c!-- end auto-generated rules list --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimobechtel%2Feslint-plugin-rules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimobechtel%2Feslint-plugin-rules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimobechtel%2Feslint-plugin-rules/lists"}