{"id":18869131,"url":"https://github.com/qpwo/prettier-no-jsx-parens","last_synced_at":"2025-10-10T08:11:42.732Z","repository":{"id":37021173,"uuid":"490074575","full_name":"qpwo/prettier-no-jsx-parens","owner":"qpwo","description":"prettier disable parens around jsx and tsx!","archived":false,"fork":false,"pushed_at":"2025-09-27T21:01:03.000Z","size":115218,"stargazers_count":3,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-02T04:55:44.695Z","etag":null,"topics":["formatter","prettier","react","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/prettier-no-jsx-parens","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/qpwo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"open_collective":"prettier","tidelift":"npm/prettier"}},"created_at":"2022-05-08T23:02:52.000Z","updated_at":"2025-09-27T21:01:14.000Z","dependencies_parsed_at":"2025-04-14T15:24:42.378Z","dependency_job_id":null,"html_url":"https://github.com/qpwo/prettier-no-jsx-parens","commit_stats":{"total_commits":6333,"total_committers":606,"mean_commits":"10.450495049504951","dds":0.8023053844939207,"last_synced_commit":"9eaedbbc942f51a3d713693527638e69c2da71a5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qpwo/prettier-no-jsx-parens","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qpwo%2Fprettier-no-jsx-parens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qpwo%2Fprettier-no-jsx-parens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qpwo%2Fprettier-no-jsx-parens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qpwo%2Fprettier-no-jsx-parens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qpwo","download_url":"https://codeload.github.com/qpwo/prettier-no-jsx-parens/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qpwo%2Fprettier-no-jsx-parens/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003296,"owners_count":26083555,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["formatter","prettier","react","typescript"],"created_at":"2024-11-08T05:15:48.928Z","updated_at":"2025-10-10T08:11:40.763Z","avatar_url":"https://github.com/qpwo.png","language":"JavaScript","funding_links":["https://opencollective.com/prettier","https://tidelift.com/funding/github/npm/prettier"],"categories":[],"sub_categories":[],"readme":"#  prettier-no-jsx-parens\n\nPrettier without so many parenthesis in jsx/tsx. Not perfect but decent. Seems to work fine with a global or a local install in my testing.\n\n## Example comparison\n\n```jsx\n// prettier-no-jsx-parens:\nfunction User({ username }) {\n  return \u003c\u003e\n    \u003cspan\u003eUser:\u003c/span\u003e\n    \u003cspan\u003e{username}\u003c/span\u003e\n  \u003c/\u003e;\n}\n\n// regular prettier:\nfunction User({ username }) {\n  return (\n    \u003c\u003e\n      \u003cspan\u003eUser:\u003c/span\u003e\n      \u003cspan\u003e{username}\u003c/span\u003e\n    \u003c/\u003e\n  );\n}\n```\n\n## Installation\n\n```bash\nnpm i --save-dev prettier-no-jsx-parens\nyarn add --dev prettier-no-jsx-parens\n```\n\nThen in your `package.json`:\n\n```json\n{\n  \"scripts\": {\n    \"fmt\": \"prettier-no-jsx-parens -w -l .\"\n  }\n}\n```\n\n```bash\necho 'alias prettier=\"prettier-no-jsx-parens\"' \u003e\u003e ~/.bashrc\n# or\necho 'alias prettier=\"prettier-no-jsx-parens\"' \u003e\u003e ~/.zshrc\n```\n\n## Vscode setting\n\nIn your settings.json add\n\n```json\n\"prettier.prettierPath\": \"global-or-local-folder/node_modules/prettier-no-jsx-parens/\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqpwo%2Fprettier-no-jsx-parens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqpwo%2Fprettier-no-jsx-parens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqpwo%2Fprettier-no-jsx-parens/lists"}