{"id":16490423,"url":"https://github.com/yuthelloworld/webstrom-setting","last_synced_at":"2025-11-24T15:05:00.801Z","repository":{"id":98300755,"uuid":"100774457","full_name":"YutHelloWorld/WebStrom-Setting","owner":"YutHelloWorld","description":"A JS standard setting of WebStorm","archived":false,"fork":false,"pushed_at":"2017-08-24T13:15:16.000Z","size":85,"stargazers_count":22,"open_issues_count":1,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-01T06:25:39.920Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/YutHelloWorld.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,"publiccode":null,"codemeta":null}},"created_at":"2017-08-19T06:14:56.000Z","updated_at":"2021-07-19T08:30:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"c3d49d04-120e-48a4-a8d2-604772768329","html_url":"https://github.com/YutHelloWorld/WebStrom-Setting","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/YutHelloWorld/WebStrom-Setting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YutHelloWorld%2FWebStrom-Setting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YutHelloWorld%2FWebStrom-Setting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YutHelloWorld%2FWebStrom-Setting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YutHelloWorld%2FWebStrom-Setting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YutHelloWorld","download_url":"https://codeload.github.com/YutHelloWorld/WebStrom-Setting/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YutHelloWorld%2FWebStrom-Setting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286079811,"owners_count":27282121,"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-11-24T02:00:07.096Z","response_time":68,"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":[],"created_at":"2024-10-11T13:47:57.663Z","updated_at":"2025-11-24T15:05:00.768Z","avatar_url":"https://github.com/YutHelloWorld.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebStrom-Setting\nA JS standard setting of WebStorm\n\n## 起源\n\n前端工作以来，开发工具一直使用的是WebStorm（前端） + Eclipse（后端Java服务）。WebStorm虽然吃内存，但毕竟是IDE，功能自然强大！\n\n一个开发团队中，有的人喜欢用4空格缩进，有的人喜欢用2空格，没有对错之分。我们使用规范，只是为了代码风格统一，方便互相review，避免争论。\n\n这里我根据多年的使用习惯，参考JS社区编程规范，导出了webstorm的设置jar包，方便有需要的同学一键导入使用。\n\n## 特性\n\n- 主题 Material Theme\n- 使用Eslint生成的Code Style ，遵循[JavaScript Standard Style](https://standardjs.com/readme-zhcn.html#usage),补充`\"object-curly-spacing\": [2, \"always\"]`,`\"comma-dangle\": \"off\"`。详见：https://github.com/YutHelloWorld/vortex-react/blob/master/.eslintrc\n- 快捷键 Mac OS (可根据自己喜好替换)\n\n\u003e 附带webstorm一些设置技巧\nhttps://github.com/YutHelloWorld/Blog/issues/8\n## 使用\n\n1. 克隆仓库\n\n```bash\n$ git clone https://github.com/YutHelloWorld/WebStrom-Setting.git\n```\n\n2. 把仓库中的`setting.jar`导入到WebStorm。操作：File -\u003e Import Settings\n\n3. 选中要格式化的代码，使用格式化快捷键Command+option+L(Mac)格式化代码，就能够使得JS代码保持和设置的JS规范一致。\n\n4. 推荐安装插件：Material Theme UI。方法：Prefences -\u003e Plugin -\u003e Browse Repositories -\u003e 搜索 Material Theme UI 并安装。\n\n5. 效果\n![ws](https://user-images.githubusercontent.com/20860159/29484307-641b0cea-84ee-11e7-995a-b56797c3d3b6.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuthelloworld%2Fwebstrom-setting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuthelloworld%2Fwebstrom-setting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuthelloworld%2Fwebstrom-setting/lists"}