Armory
Source
Browse
Hooks

lint-on-save

Automatically run linting tools after file modifications. Supports ESLint for JavaScript/TypeScript, Pylint for Python, and RuboCop for Ruby.

Score
Unranked
Evidence
No signals yet
Last commit
Not known
Listed

Install

armory install lint-on-save --cli claude

writes the file to.claude/hooks/lint-on-saveListed as compatible

Configuration
# fetches the hook script into:
.claude/hooks/lint-on-save
# then register it in your settings.json "hooks" block.

↳ Add the hook entry to settings.json, then restart the harness.

Needs the armory CLI · not on npm yet, build it from cli/ in the repository

What it is

Automatically run linting tools after file modifications. Supports ESLint for JavaScript/TypeScript, Pylint for Python, and RuboCop for Ruby.

When to use it

Automatically run linting tools after file modifications. Supports ESLint for JavaScript/TypeScript, Pylint for Python, and RuboCop for Ruby.

How to install / invoke

# Wire this hook script into .claude/settings.json
curl -sL https://raw.githubusercontent.com/davila7/claude-code-templates/main/cli-tool/components/hooks/development-tools/lint-on-save.json -o .claude/hooks/lint-on-save.json

Notes

Extracted from davila7/claude-code-templates, development-tools category.