包页面→ /norms/standards/editorconfig.md
pages/norms/standards/editorconfig.md
15 行, 694 B. 以页面形式查看.
- ---
- type: Page
- title: "设置:EditorConfig"
- exclude: ['vendor/**', 'third_party/**', '**/fixtures/**', '**/testdata/**']
- maxBytes: 1048576
- changedSince: ""
- ---
- # 设置:EditorConfig
- `std-editorconfig` 包的规范 EC-R01 … EC-R03 的设置(EditorConfig,<https://spec.editorconfig.org/>)。文件本身的规则写在项目的 `.editorconfig` 中。在页眉中编辑各字段。
- - `exclude`:不予检查的内容:从项目根目录起的通配符。
- - `maxBytes`:超过此大小的文件跳过。
- - `changedSince`:某一天 YYYY-MM-DD:只检查自该日以来被触及的文件(提交、编辑、新建的文件)。为空则检查所有文件。这适用于历史欠账较多的项目。