{"id":20881292,"url":"https://github.com/peakchen90/eslint-plugin-proposal","last_synced_at":"2025-05-12T16:32:38.665Z","repository":{"id":57230135,"uuid":"180359676","full_name":"peakchen90/eslint-plugin-proposal","owner":"peakchen90","description":"some rules for ECMAScript proposal. eg: class property.","archived":false,"fork":false,"pushed_at":"2021-08-12T03:41:12.000Z","size":48,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-30T13:21:52.221Z","etag":null,"topics":["class","class-properties","development","ecmascript","eslint","eslint-plugin","javascript","lint","proposal"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/eslint-plugin-proposal","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/peakchen90.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}},"created_at":"2019-04-09T12:16:03.000Z","updated_at":"2022-04-02T02:19:23.000Z","dependencies_parsed_at":"2022-09-14T15:02:02.096Z","dependency_job_id":null,"html_url":"https://github.com/peakchen90/eslint-plugin-proposal","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peakchen90%2Feslint-plugin-proposal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peakchen90%2Feslint-plugin-proposal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peakchen90%2Feslint-plugin-proposal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peakchen90%2Feslint-plugin-proposal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peakchen90","download_url":"https://codeload.github.com/peakchen90/eslint-plugin-proposal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253777055,"owners_count":21962621,"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":["class","class-properties","development","ecmascript","eslint","eslint-plugin","javascript","lint","proposal"],"created_at":"2024-11-18T07:24:21.569Z","updated_at":"2025-05-12T16:32:38.355Z","avatar_url":"https://github.com/peakchen90.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-plugin-proposal\n\n![npm (tag)](https://img.shields.io/npm/v/eslint-plugin-proposal/latest.svg)\n[![Travis (.org) branch](https://img.shields.io/travis/peakchen90/eslint-plugin-proposal/master.svg)](https://travis-ci.org/peakchen90/eslint-plugin-proposal)\n![node](https://img.shields.io/node/v/eslint-plugin-proposal.svg)\n![npm peer dependency version](https://img.shields.io/npm/dependency-version/eslint-plugin-proposal/peer/eslint.svg)\n[![npm](https://img.shields.io/npm/dt/eslint-plugin-proposal.svg)](https://www.npmjs.com/package/eslint-plugin-proposal)\n[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/peakchen90/eslint-plugin-proposal/blob/master/LICENSE)\n\n\nsome rules for ECMAScript proposal. eg: class property.\n\n## Installation\n\nYou'll first need to install [ESLint](http://eslint.org):\n\n```\n$ npm i eslint --save-dev\n```\n\nNext, install `eslint-plugin-proposal`:\n\n```\n$ npm install eslint-plugin-proposal --save-dev\n```\n\n**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-proposal` globally.\n\n## Usage\n\nAdd `proposal` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:\n\n```json\n{\n  \"plugins\": [\n    \"proposal\"\n  ]\n}\n```\n\n\nThen configure the rules you want to use under the rules section.\n\n```json\n{\n  \"rules\": {\n    \"proposal/class-property-space-infix-ops\": \"error\"\n  }\n}\n```\n\n## List of supported rules\n\n* [proposal/class-property-space-infix-ops](./docs/rules/class-property-space-infix-ops.md) require or disallow spacing between operator '=' in class property.\n* [proposal/class-property-semi](./docs/rules/class-property-semi.md) require or disallow semicolons instead of ASI in class property.\n* [proposal/class-property-no-extra-semi](./docs/rules/class-property-no-extra-semi.md) disallow unnecessary semicolons in class property.\n* [proposal/class-property-no-semi-spacing](./docs/rules/class-property-no-semi-spacing.md) disallow spacing before semicolons in class property.\n* [proposal/class-property-no-dupe-property](docs/rules/class-property-no-dupe-property.md) disallow duplicate class property.\n* [proposal/class-property-no-initialized](docs/rules/class-property-no-initialized.md) disallow uninitialized class property.\n* [proposal/no-dynamic-import](docs/rules/no-dynamic-import.md) disallow use dynamic import syntax.\n\n\n## Shareable configurations\n\n### Recommended\nThis plugin exports a recommended configuration.\n\nTo enable this configuration use the extends property in your .eslintrc config file:\n\n```json\n{\n  \"extends\": [\n    \"plugin:proposal/recommended\"\n  ]\n}\n```\n\nThe rules enabled in this configuration are:\n\n* [proposal/class-property-space-infix-ops](./docs/rules/class-property-space-infix-ops.md)\n* [proposal/class-property-no-extra-semi](./docs/rules/class-property-no-extra-semi.md)\n* [proposal/class-property-no-semi-spacing](./docs/rules/class-property-no-semi-spacing.md)\n* [proposal/class-property-no-dupe-property](docs/rules/class-property-no-dupe-property.md)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeakchen90%2Feslint-plugin-proposal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeakchen90%2Feslint-plugin-proposal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeakchen90%2Feslint-plugin-proposal/lists"}