Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By leonardo-marzialiv0.2.0Apache-2.0In 1 marketplace
Enforce a project's .editorconfig on the files Claude edits, with editorconfig-checker or the ec4j Gradle and Maven plugins.
Claude loads one when your task matches it, or you run it by name.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Plugin that enforces a project's .editorconfig on the files
Claude edits, in any language.
PreToolUse, PostToolUse and PostToolUseFailure hooks track every file
the session touches, through Edit/Write or through Bash, PowerShell
and MCP tools, in the main conversation or a subagent.Stop/SubagentStop hook checks those files, auto-fixes what it safely
can, and blocks the stop if violations remain on changed lines, so Claude
fixes them. After 3 attempts it reports what's left and lets the stop through..editorconfig at or above them are skipped, and the plugin
never creates one. Paths under node_modules/ or .git/ are always skipped.0.pom.xml mentions editorconfig-maven-plugin: editorconfig:check and
editorconfig:format.
Gradle build or settings mentions org.ec4j.editorconfig:
editorconfigCheck and editorconfigFormat.
Everything else: editorconfig-checker, and --fix to repair.
Gradle and Maven only run where the project's own build declares the
ec4j plugin; this plugin never adds it. The wrapper (./gradlew,
./mvnw) is preferred over gradle/mvn on PATH.
ec4j's tasks work over patterns, so the hook limits them to the session's
files: -Deditorconfig.includes for Maven, an init script for Gradle. If a
limited check reports any other file, the limit didn't work, so the hook never
formats and uses editorconfig-checker for that project instead. The same
fallback applies when the build fails or the tool isn't installed, and for
paths containing ,, * or ?, which ec4j's includes can't express.
editorconfig-checker --fix covers trailing whitespace, line endings and
final newlines. Claude fixes indentation, charset and max_line_length.
For Markdown, the hook passes -disable-indent-size: continuation lines of a
numbered list align at 3 spaces, which is what Prettier writes and the indent
check would reject. Tabs against indent_style = space are still reported.
/editorconfig:check [path]): report violations in path (or the
whole project), including files and lines this session never touched. Changes
nothing. Manual invocation only./editorconfig:fix [path]): apply auto-fixes to path (or the whole
project), including pre-existing violations, and list what remains. Expect
whole-file diffs. Manual invocation only..editorconfig files
and editorconfig-checker exemptions.Add this repository as a plugin marketplace in Claude Code and install the
editorconfig plugin from it, or copy the plugins/editorconfig directory into
your own plugin setup.
editorconfig-checker runs, unless it's already
on PATH. The npm wrapper ([email protected], via npx) downloads
the latest core binary from GitHub releases and caches it. That call is subject
to GitHub's API rate limit and uses GITHUB_TOKEN if set. The wrapper's version
is pinned but the binary isn't.editorconfig-checker silently skips its default excludes, such as lockfiles
and *.min.js.trim_trailing_whitespace = true removes Markdown hard line breaks written as
two trailing spaces. Add trim_trailing_whitespace = false under [*.md] if
you use them..editorconfig settings too. If it and a rule disagree, the
block message tells Claude to report the conflict rather than alternate.cd plugins/editorconfig && npm ci --ignore-scripts && pnpm test
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub leonardo-marziali/agentic-development-kit --plugin editorconfigPlugins from other owners that cover similar ground