{"id":13563913,"url":"https://github.com/standard/eslint-plugin-standard","last_synced_at":"2025-05-16T11:04:34.702Z","repository":{"id":35273335,"uuid":"39534043","full_name":"standard/eslint-plugin-standard","owner":"standard","description":"ESlint Rules for the Standard Linter","archived":false,"fork":false,"pushed_at":"2023-09-16T07:31:20.000Z","size":113,"stargazers_count":125,"open_issues_count":0,"forks_count":18,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-05-11T08:16:15.757Z","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/standard.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},"funding":{"github":["standard","feross"]}},"created_at":"2015-07-22T22:51:21.000Z","updated_at":"2024-10-08T09:11:24.000Z","dependencies_parsed_at":"2024-04-02T18:56:14.267Z","dependency_job_id":"d5e8c560-9b11-4ead-a708-1c024deed4cd","html_url":"https://github.com/standard/eslint-plugin-standard","commit_stats":{"total_commits":88,"total_committers":12,"mean_commits":7.333333333333333,"dds":"0.30681818181818177","last_synced_commit":"620b262dc21124e743fcdbe4f669e14e59978f53"},"previous_names":["xjamundx/eslint-plugin-standard"],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standard%2Feslint-plugin-standard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standard%2Feslint-plugin-standard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standard%2Feslint-plugin-standard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standard%2Feslint-plugin-standard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/standard","download_url":"https://codeload.github.com/standard/eslint-plugin-standard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254514634,"owners_count":22083806,"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-08-01T13:01:24.503Z","updated_at":"2025-05-16T11:04:33.482Z","avatar_url":"https://github.com/standard.png","language":"JavaScript","funding_links":["https://github.com/sponsors/standard","https://github.com/sponsors/feross"],"categories":["JavaScript"],"sub_categories":[],"readme":"# eslint-plugin-standard [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]\n\n[travis-image]: https://img.shields.io/travis/standard/eslint-plugin-standard/master.svg\n[travis-url]: https://travis-ci.org/standard/eslint-plugin-standard\n[npm-image]: https://img.shields.io/npm/v/eslint-plugin-standard.svg\n[npm-url]: https://npmjs.org/package/eslint-plugin-standard\n[downloads-image]: https://img.shields.io/npm/dm/eslint-plugin-standard.svg\n[downloads-url]: https://npmjs.org/package/eslint-plugin-standard\n[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg\n[standard-url]: https://standardjs.com\n\n### Deprecated: This package isn't used by `standard` anymore, as of `standard` v16. See: https://github.com/standard/standard/issues/1316\n\nESlint Rules for the Standard Linter\n\n### Usage\n\n`npm install --save-dev eslint-plugin-standard`\n\n### Configuration\n\n```js\nmodule.exports = {\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 `standard` 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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstandard%2Feslint-plugin-standard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstandard%2Feslint-plugin-standard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstandard%2Feslint-plugin-standard/lists"}