{"id":16962353,"url":"https://github.com/aeharding/eslint-plugin-standard2","last_synced_at":"2026-05-09T02:02:42.541Z","repository":{"id":57230237,"uuid":"91907729","full_name":"aeharding/eslint-plugin-standard2","owner":"aeharding","description":"ESlint Rules for the Standard Linter 2","archived":false,"fork":false,"pushed_at":"2017-05-20T18:15:31.000Z","size":55,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T00:08:07.355Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aeharding.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-20T18:13:15.000Z","updated_at":"2023-12-15T19:41:26.000Z","dependencies_parsed_at":"2022-09-14T21:21:02.201Z","dependency_job_id":null,"html_url":"https://github.com/aeharding/eslint-plugin-standard2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeharding%2Feslint-plugin-standard2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeharding%2Feslint-plugin-standard2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeharding%2Feslint-plugin-standard2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeharding%2Feslint-plugin-standard2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aeharding","download_url":"https://codeload.github.com/aeharding/eslint-plugin-standard2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244825458,"owners_count":20516590,"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":"2024-10-13T23:06:16.753Z","updated_at":"2025-11-09T05:03:57.768Z","avatar_url":"https://github.com/aeharding.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-plugin-standard2 [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]\n\n[npm-image]: https://img.shields.io/npm/v/eslint-plugin-standard2.svg\n[npm-url]: https://npmjs.org/package/eslint-plugin-standard2\n[downloads-image]: https://img.shields.io/npm/dm/eslint-plugin-standard2.svg\n[downloads-url]: https://npmjs.org/package/eslint-plugin-standard2\n[standard-image]: https://img.shields.io/badge/code_style-standard2-brightgreen.svg\n[standard2-url]: https://standardjs2.com\n\nESlint Rules for the Standard Linter\n\n### Usage\n\n`npm install --save-dev eslint-plugin-standard2`\n\n### Configuration\n\n```js\n{\n  rules: {\n    'standard/object-curly-even-spacing': [2, \"either\"]\n    'standard/array-bracket-even-spacing': [2, \"either\"],\n    'standard/computed-property-even-spacing': [2, \"even\"]\n    'standard/no-callback-literal': [2, [\"cb\", \"callback\"]]\n  }\n}\n```\n\n### Rules Explanations\n\nThere are several rules that were created specifically for the `standard2` linter.\n\n- `object-curly-even-spacing` - Like `object-curly-spacing` from ESLint except it has an `either` option which lets you have 1 or 0 spaces padding.\n- `array-bracket-even-spacing` - Like `array-bracket-even-spacing` from ESLint except it has an `either` option which lets you have 1 or 0 spacing padding.\n- `computed-property-even-spacing` - Like `computed-property-spacing` around ESLint except is has an `even` option which lets you have 1 or 0 spacing padding.\n- `no-callback-literal` - Ensures that we strictly follow the callback pattern with `undefined`, `null` or an error object in the first position of a callback.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeharding%2Feslint-plugin-standard2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faeharding%2Feslint-plugin-standard2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeharding%2Feslint-plugin-standard2/lists"}