validate-lint
Run ESLint and Prettier validation to check code style, formatting, and best practices. Returns structured output with error/warning counts, rule violations, and affected files. Used for code quality gates and pre-commit validation.
Security Assessment
About validate-lint
The 'validate-lint' skill is a tool designed to enhance code quality by running linting checks using ESLint and Prettier. It helps developers identify and fix code style, formatting, and best practice issues without making any changes to the code itself. By using this skill, teams can ensure that their code adheres to consistent standards before committing it to a version control system, thereby reducing errors and improving maintainability. It automates the validation process and provides structured, actionable output for developers to address any issues found in the codebase.
FAQ
How do I use the validate-lint skill?
You can use the validate-lint skill by running linting checks for your code with ESLint and Prettier. It returns structured validation results including error and warning counts, rule violations, and affected files.
What tools are supported by validate-lint?
The skill supports ESLint for JavaScript/TypeScript linting and Prettier for code formatting checks. It can be used with npm scripts or directly through tool invocation.
What happens if the linting results in errors or warnings?
If errors or warnings are found, the skill provides details including the specific rules violated, error and warning counts, and the affected files. It will also indicate if the process can proceed or if linting errors must be resolved first.
What are the requirements for using validate-lint?
You need ESLint installed (either via npm or as a package), a valid ESLint configuration file (e.g., .eslintrc, eslint.config.js, or package.json), and optionally, Prettier for formatting checks.
Install validate-lint
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
BerryKuipers/claude-code-toolkit