{"id":15134158,"url":"https://github.com/mkizka/eslint-plugin-aaa","last_synced_at":"2026-02-11T16:02:12.734Z","repository":{"id":253524499,"uuid":"843768309","full_name":"mkizka/eslint-plugin-aaa","owner":"mkizka","description":"ESLint plugin to check Arrange-Act-Assert comments","archived":false,"fork":false,"pushed_at":"2024-08-18T10:16:33.000Z","size":80,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T12:17:07.927Z","etag":null,"topics":["eslint","testing"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/mkizka.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-17T11:08:41.000Z","updated_at":"2025-03-08T13:20:48.000Z","dependencies_parsed_at":"2024-08-17T12:30:24.145Z","dependency_job_id":"c369dffd-4cdf-4a0c-a8a5-d53155447b76","html_url":"https://github.com/mkizka/eslint-plugin-aaa","commit_stats":null,"previous_names":["mkizka/eslint-plugin-aaa"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkizka%2Feslint-plugin-aaa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkizka%2Feslint-plugin-aaa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkizka%2Feslint-plugin-aaa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkizka%2Feslint-plugin-aaa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkizka","download_url":"https://codeload.github.com/mkizka/eslint-plugin-aaa/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248225661,"owners_count":21068078,"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":["eslint","testing"],"created_at":"2024-09-26T05:03:08.654Z","updated_at":"2026-02-11T16:02:12.688Z","avatar_url":"https://github.com/mkizka.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @mkizka/eslint-plugin-aaa\n\nThis ESLint plugin checks that `arrange`, `act`, and `assert` comments are present in test files.\n\n```js\ntest(\"sample test\", () =\u003e {\n  // arrange\n  setupSomething();\n  // act\n  const actual = testFunction();\n  // assert\n  expect(actual).toBe(expected);\n});\n```\n\n## Installation\n\n```\nnpm i -D @mkizka/eslint-plugin-aaa\n```\n\n## Example\n\n```js\n// eslint.config.js\nimport { arrangeActAssert } from \"@mkizka/eslint-plugin-aaa\";\n\nexport default [arrangeActAssert];\n```\n\nor\n\n```js\n// eslint.config.js\nimport { arrangeActAssertPlugin } from \"@mkizka/eslint-plugin-aaa\";\n\nexport default [\n  {\n    plugins: {\n      aaa: arrangeActAssertPlugin,\n    },\n    rules: {\n      \"aaa/arrange-act-assert\": \"warn\",\n    },\n  },\n];\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkizka%2Feslint-plugin-aaa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkizka%2Feslint-plugin-aaa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkizka%2Feslint-plugin-aaa/lists"}