{"id":20875884,"url":"https://github.com/saqqdy/prettier-config-common","last_synced_at":"2025-05-12T15:31:51.689Z","repository":{"id":54288765,"uuid":"181677208","full_name":"saqqdy/prettier-config-common","owner":"saqqdy","description":"适合中国人使用习惯的prettier配置","archived":false,"fork":false,"pushed_at":"2023-02-07T04:35:51.000Z","size":21,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-11T14:45:45.105Z","etag":null,"topics":["prettier","prettier-config","prettierrc"],"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/saqqdy.png","metadata":{"files":{"readme":"README.en.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["saqqdy"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2019-04-16T11:36:25.000Z","updated_at":"2023-02-07T04:36:41.000Z","dependencies_parsed_at":"2023-02-19T15:15:19.971Z","dependency_job_id":null,"html_url":"https://github.com/saqqdy/prettier-config-common","commit_stats":null,"previous_names":["saqqdy/prettier-config"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saqqdy%2Fprettier-config-common","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saqqdy%2Fprettier-config-common/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saqqdy%2Fprettier-config-common/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saqqdy%2Fprettier-config-common/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saqqdy","download_url":"https://codeload.github.com/saqqdy/prettier-config-common/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225141010,"owners_count":17427204,"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":["prettier","prettier-config","prettierrc"],"created_at":"2024-11-18T06:48:56.862Z","updated_at":"2024-11-18T06:48:58.635Z","avatar_url":"https://github.com/saqqdy.png","language":"JavaScript","funding_links":["https://github.com/sponsors/saqqdy"],"categories":[],"sub_categories":[],"readme":"\u003cdiv style=\"text-align: center;\" align=\"center\"\u003e\n\n# prettier-config-common\n\n适合中国人使用习惯的 prettier 配置\n\n[![NPM version][npm-image]][npm-url]\n[![Codacy Badge][codacy-image]][codacy-url]\n[![License][license-image]][license-url]\n\n[![Sonar][sonar-image]][sonar-url]\n\n\u003c/div\u003e\n\n\u003e 请在使用前确保您本地安装了 prettier\n\n## Installation\n\n```shell\n# use pnpm\npnpm install -D prettier-config-common\n\n# use yarn\nyarn add prettier-config-common --dev\n\n# use npm\nnpm install prettier-config-common -D\n```\n\n## Instructions\n\n### 方法 1. 修改 package.json\n\n编辑您项目 package.json 加上下面这一行\n\n```json\n{\n  \"prettier\": \"prettier-config-common\"\n}\n```\n\n### 方法 2. 创建/修改本地.prettierrc.js 文件\n\n```js\n// 编辑.prettierrc.js\nmodule.exports = require('prettier-config-common')\n```\n\n## Contribution\n\n1. Fork the repository\n2. Create Feat_xxx branch\n3. Commit your code\n4. Create Pull Request\n\n## About Me\n\n1. You can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.md\n2. My Gitee：[https://gitee.com/saqqdy](https://gitee.com/saqqdy)\n3. My Github：[https://github.com/saqqdy](https://github.com/saqqdy)\n4. My npm：[https://npmjs.com/~saqqdy](https://npmjs.com/~saqqdy)\n5. My porsonal site [http://www.saqqdy.com](http://www.saqqdy.com)\n\n## License\n\n[MIT](LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/prettier-config-common.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/prettier-config-common\n[codacy-image]: https://app.codacy.com/project/badge/Grade/f70d4880e4ad4f40aa970eb9ee9d0696\n[codacy-url]: https://www.codacy.com/gh/saqqdy/prettier-config-common/dashboard?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=saqqdy/prettier-config-common\u0026utm_campaign=Badge_Grade\n[license-image]: https://img.shields.io/badge/License-MIT-blue.svg\n[license-url]: LICENSE\n[sonar-image]: https://sonarcloud.io/api/project_badges/quality_gate?project=saqqdy_eslint-sets\n[sonar-url]: https://sonarcloud.io/dashboard?id=saqqdy_eslint-sets\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaqqdy%2Fprettier-config-common","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaqqdy%2Fprettier-config-common","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaqqdy%2Fprettier-config-common/lists"}