macOS
brew install editorconfiglocal Homebrew formula metadata
安装
brew install editorconfiglocal Homebrew formula metadata
sudo apk add editorconfigAlpine Linux edge package indexes · editorconfig · 来源: dl-cdn.alpinelinux.org
sudo apt install editorconfigDebian stable package indexes · editorconfig · 来源: deb.debian.org
sudo dnf install editorconfigFedora Rawhide package metadata · editorconfig · 来源: dl.fedoraproject.org
sudo zypper install editorconfigopenSUSE Tumbleweed package metadata · editorconfig · 来源: download.opensuse.org
scoop install main/editorconfigScoop official bucket manifest trees · bucket/editorconfig.json · 来源: api.github.com
概览
Maintain consistent coding style between multiple editors
历史
EditorConfig is a cross-editor coding-style convention built around one plain text file named .editorconfig. Its package-manager identity is the command-line C core, but its cultural footprint is broader: a file format, a formal spec, core parsers, and editor integrations.
The EditorConfig site describes the project as both a file format and a collection of editor plugins for maintaining consistent coding styles across editors and IDEs. The site repository was created in 2011, and the C core repository followed in 2012 as reusable parser and locator code for integrations.
The editorconfig-core-c README explains why the C core exists: plugin authors can share file location, INI parsing, and glob matching behavior instead of repeating that logic in every editor integration. The command-line program accepts a filename, searches for applicable .editorconfig files, and outputs the matching properties.
The formal specification later separated the format contract from individual implementations, giving package maintainers and editor authors a stable target for behavior such as section globbing, root=true search termination, supported properties, and value parsing.
EditorConfig spread through both plugin ecosystems and native editor support. The official site distinguishes editors that need plugins from editors where no plugin is necessary, and it lists a wide range of IDEs, source hosts, and editors with built-in or installable support.
The format also became common in version-controlled source trees because it is intentionally readable, language-neutral, and stored beside the project code. That let teams encode indentation, line endings, final newline policy, charset, and trimming rules without requiring everyone to use the same editor.
Users place a .editorconfig file in a project directory. Plugins search from the opened file upward, stop at filesystem root or a file with root=true, and apply matching sections in order so closer files can override parent settings.
The Homebrew package exposes the editorconfig CLI from editorconfig-core-c. That makes the same convention useful outside editors, including scripts, plugin development, and diagnostic checks.
EditorConfig is package-nerd-important because it is one of the few dotfile formats that functions as shared social infrastructure across languages, editors, IDEs, and source hosts. A tiny INI-like file reduces editor wars to a portable contract.
Its C core is also a good example of the Unix packaging pattern where a broader standard ships as a small CLI and library, letting distributions package the reference behavior while editor and tooling ecosystems build on top.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
.editorconfig可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
editorconfig | cli | 全局可执行文件 | |
editorconfig-0.12.11 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/editorconfig/editorconfig-core-c
安装元数据
| 软件包键 | brew:editorconfig |
|---|---|
| 版本 | 0.12.11 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/editorconfig |
| 主页 | https://editorconfig.org/ |
| 仓库 | https://github.com/editorconfig/editorconfig-core-c |
| 上游文档 | https://editorconfig.org/ |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://github.com/editorconfig/editorconfig-core-c/archive/refs/tags/v0.12.11.tar.gz |
| 依赖 | pcre2 |
| 构建依赖 | cmake |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | editorconfig |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
editorconfig 0.12.9+~0.17.1-1
coding style indenter for all editors - commandline tools
sudo apt install editorconfigeditorconfig 0.12.7-0.1
coding style indenter for all editors - commandline tools
sudo apt install editorconfigeditorconfig 0.12.11-r0
core library written in C for use by plugins supporting EditorConfig parsing
https://github.com/editorconfig/editorconfig-core-c
sudo apk add editorconfigeditorconfig-dev 0.12.11-r0
core library written in C for use by plugins supporting EditorConfig parsing (development files)
https://github.com/editorconfig/editorconfig-core-c
sudo apk add editorconfig-deveditorconfig-static 0.12.11-r0
core library written in C for use by plugins supporting EditorConfig parsing (static library)
https://github.com/editorconfig/editorconfig-core-c
sudo apk add editorconfig-staticlibeditorconfig 0.12.11-r0
core library written in C for use by plugins supporting EditorConfig parsing (libraries)
https://github.com/editorconfig/editorconfig-core-c
sudo apk add libeditorconfigeditorconfig 0.12.11-1.fc45
Parser for EditorConfig files written in C
https://github.com/editorconfig/editorconfig-core-c
sudo dnf install editorconfigeditorconfig-devel 0.12.11-1.fc45
Parser library for EditorConfig files (development files)
https://github.com/editorconfig/editorconfig-core-c
sudo dnf install editorconfig-develeditorconfig-libs 0.12.11-1.fc45
Parser library for EditorConfig files (shared library)
https://github.com/editorconfig/editorconfig-core-c
sudo dnf install editorconfig-libseditorconfig 0.12.11-1.1
Commandline utilities for EditorConfig
sudo zypper install editorconfigmain/editorconfig
scoop install main/editorconfig来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.