{"id":21894587,"url":"https://github.com/dmoosocool/mundo","last_synced_at":"2026-07-03T10:36:50.125Z","repository":{"id":98795892,"uuid":"232229122","full_name":"dmoosocool/mundo","owner":"dmoosocool","description":"Mundo will go where he pleases!","archived":false,"fork":false,"pushed_at":"2020-12-16T09:54:26.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-06-20T04:33:30.534Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmoosocool.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-01-07T02:48:17.000Z","updated_at":"2021-05-27T06:28:39.000Z","dependencies_parsed_at":"2023-04-13T16:36:35.854Z","dependency_job_id":null,"html_url":"https://github.com/dmoosocool/mundo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dmoosocool/mundo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmoosocool%2Fmundo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmoosocool%2Fmundo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmoosocool%2Fmundo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmoosocool%2Fmundo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmoosocool","download_url":"https://codeload.github.com/dmoosocool/mundo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmoosocool%2Fmundo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35083016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-03T02:00:05.635Z","response_time":110,"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-11-28T13:26:35.728Z","updated_at":"2026-07-03T10:36:50.098Z","avatar_url":"https://github.com/dmoosocool.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 搭建流水账.\n\n## 使用 EditorConfig 作为跨编辑统一代码风格\n\n### EditorConfig 是什么\n\nEditorConfig 可以帮助开发者在不同的编辑器和IDE之间定义和维护一致的代码风格.\n\n```ini\nroot = true\n[*]\n; 字符集使用utf-8\ncharset = utf-8\n; Unix风格的换行符, \nend_of_line = lf\n; 每个文件以换行符结束.\ninsert_final_newline = true\n; 缩进使用空格\nindent_style = space\n; 缩进长度为2个空格\nindent_size = 2\n; 一行最多100个字符\nmax_line_length = 100\n```\n\n### EditorConfig 格式\n\nEditorConfig 使用的是 `INI 格式`, 目的是可以与 `Python ConfigParser Library` 兼容,  `;` 或者 `#` 作为注释。注释应该独占一行.\nEditorConfig 文件使用 `UTF-8格式`、`CRLF` 或者 `LF` 作为换行符.\n\n### 支持的属性\n\n注意：不是每种属性所有的编辑器或IDE都支持, 详情请查看 [Wiki](https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties).\n\n- `indent_style`: 设置缩进风格 支持 `tab` 和 `space`, 其中 `tab` 为 `hard-tabs`, `space` 为 `soft-tabs`.\n- `indent_size`: 设置整数表示规定每级缩进的列数和 `soft-tabs` 的空格数, 如果 `indent_style` 为 `tab` , 如果已经设置 `tab_width` 值的话,则会使用 `tab_width`的值.\n- `tab_width`: 设置整数用于指定 `tab` 代表的空格数, 默认值与 `indent_size` 的值一致, 通常无需设置该值.\n- `end_of_line`: 设置换行符格式, 支持的有 `lf`（Unix风格）、`cr`（Mac风格）、`crlf`（Windows风格）.\n- `charset`: 设置字符集.  支持 `latin1`、`utf-8`、`utf-8-bom`、`utf-16be` 和 `utf-16le`, 通常使用 `utf-8` .\n- `trim_trailing_whitespace`: 设置为 `true` 则表示会去除换行行首的任意空白字符, `false` 反之.\n- `insert_final_newline`: 设置为 `true` 则表示文件会以一个空白行结尾, `false` 反之.\n- `roor`: 表示是最顶层的配置文件, 为 `true` 时才会停止查找 `.editorconfig` 文件.\n\n目前所有的属性名和属性值是不区分大小写的，在编译时会将其都转成小写。通常如果没有明确指定某个属性时，则会使用编辑器默认的配置。\n\n推荐在某些情况下不要指定一些属性。比如：\n\n- 当 `tab_width` 与 `indent_size` 相同时则不需要特别指定.\n- 当 `indent_style` 为 `tab` 时不需要特别指定 `indent_size`.\n\n### 插件下载\n\n目前 `EditorConfig` 已经支持了所有主流的编辑器及ide, 前往[官网](https://editorconfig.org/#download) 进行下载. 或者直接在各自ide中的插件市场直接下载.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmoosocool%2Fmundo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmoosocool%2Fmundo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmoosocool%2Fmundo/lists"}