{"id":14978244,"url":"https://github.com/matzkoh/eslint-plugin-generate-test-id","last_synced_at":"2025-07-18T17:06:21.412Z","repository":{"id":193818635,"uuid":"689553963","full_name":"matzkoh/eslint-plugin-generate-test-id","owner":"matzkoh","description":"Fill empty data-testid attributes with nanoid","archived":false,"fork":false,"pushed_at":"2025-07-16T12:07:31.000Z","size":1625,"stargazers_count":3,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-17T07:24:51.187Z","etag":null,"topics":["data-testid","eslint","eslint-plugin","testid"],"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/matzkoh.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,"zenodo":null},"funding":{"github":"matzkoh"}},"created_at":"2023-09-10T07:13:43.000Z","updated_at":"2025-07-16T04:23:58.000Z","dependencies_parsed_at":"2023-12-02T09:22:46.575Z","dependency_job_id":"4dad182c-b83d-470f-ad5d-3b9d94d55de9","html_url":"https://github.com/matzkoh/eslint-plugin-generate-test-id","commit_stats":{"total_commits":298,"total_committers":3,"mean_commits":99.33333333333333,"dds":0.04026845637583898,"last_synced_commit":"5afb615bdb5092b362477f9fd790d147cf9b1c9a"},"previous_names":["matzkoh/eslint-plugin-generate-test-id"],"tags_count":4,"template":true,"template_full_name":null,"purl":"pkg:github/matzkoh/eslint-plugin-generate-test-id","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matzkoh%2Feslint-plugin-generate-test-id","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matzkoh%2Feslint-plugin-generate-test-id/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matzkoh%2Feslint-plugin-generate-test-id/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matzkoh%2Feslint-plugin-generate-test-id/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matzkoh","download_url":"https://codeload.github.com/matzkoh/eslint-plugin-generate-test-id/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matzkoh%2Feslint-plugin-generate-test-id/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265798426,"owners_count":23829943,"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":["data-testid","eslint","eslint-plugin","testid"],"created_at":"2024-09-24T13:57:07.863Z","updated_at":"2025-07-18T17:06:21.353Z","avatar_url":"https://github.com/matzkoh.png","language":"JavaScript","funding_links":["https://github.com/sponsors/matzkoh"],"categories":[],"sub_categories":[],"readme":"[![npm-badge]][npm]\n[![downloads-badge]][npm]\n[![actions-badge]][actions]\n[![renovate-badge]][renovate]\n[![codecov-badge]][codecov]\n\n[npm-badge]: https://img.shields.io/npm/v/eslint-plugin-generate-test-id\n[npm]: https://www.npmjs.com/package/eslint-plugin-generate-test-id\n[downloads-badge]: https://img.shields.io/npm/dw/eslint-plugin-generate-test-id?color=blue\n[actions-badge]: https://github.com/matzkoh/eslint-plugin-generate-test-id/actions/workflows/release.yml/badge.svg\n[actions]: https://github.com/matzkoh/eslint-plugin-generate-test-id/actions/workflows/release.yml\n[renovate-badge]: https://img.shields.io/badge/renovate-enabled-brightgreen\n[renovate]: https://renovatebot.com/\n[codecov-badge]: https://codecov.io/gh/matzkoh/eslint-plugin-generate-test-id/branch/master/graph/badge.svg\n[codecov]: https://codecov.io/gh/matzkoh/eslint-plugin-generate-test-id\n\n# eslint-plugin-generate-test-id\n\nFill empty data-test-id attributes with nanoid.\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 `eslint-plugin-generate-test-id`:\n\n```sh\nnpm install eslint-plugin-generate-test-id --save-dev\n```\n\n## Usage\n\n### \u003ca name='eslintrc'\u003e\u003c/a\u003e**[.eslintrc.json](https://eslint.org/docs/latest/use/configure/configuration-files)**\n\n```json\n{\n  \"extends\": [\"plugin:generate-test-id/recommended\"]\n}\n```\n\n### \u003ca name='flat'\u003e\u003c/a\u003e[`eslint.config.js`](https://eslint.org/docs/latest/use/configure/configuration-files-new) (requires eslint\u003e=v8.23.0)\n\n```js\nconst generateTestIdJsx = require(\"eslint-plugin-eslint-plugin/configs/recommended\");\n\nmodule.exports = [generateTestIdJsx];\n```\n\n## Rules\n\n\u003c!-- begin auto-generated rules list --\u003e\n\n⚠️ Configurations set to warn in.\\\n✅ Set in the `recommended` configuration.\\\n🔧 Automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).\n\n| Name                     | Description                                    | ⚠️  | 🔧  |\n| :----------------------- | :--------------------------------------------- | :-- | :-- |\n| [jsx](docs/rules/jsx.md) | Fill empty data-test-id attributes with nanoid | ✅  | 🔧  |\n\n\u003c!-- end auto-generated rules list --\u003e\n\n## Preset configs\n\n### Recommended config\n\n```json\n{\n  \"extends\": [\"plugin:generate-test-id/recommended\"]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatzkoh%2Feslint-plugin-generate-test-id","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatzkoh%2Feslint-plugin-generate-test-id","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatzkoh%2Feslint-plugin-generate-test-id/lists"}