Eslint
Enforces g1joshi's custom ESLint rules to ensure code style consistency and quality within JavaScript projects.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add g1joshi-eslint npx -- -y @trustedskills/g1joshi-eslint
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"g1joshi-eslint": {
"command": "npx",
"args": [
"-y",
"@trustedskills/g1joshi-eslint"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill provides linting capabilities for JavaScript and related codebases using ESLint. It analyzes code for potential errors, stylistic problems, and adherence to coding standards. The agent can use this skill to automatically identify and suggest fixes for common coding issues, improving code quality and maintainability.
When to use it
- Code Review: Automatically check a codebase for linting errors before merging changes.
- Automated Formatting: Enforce consistent code style across a project by applying ESLint's formatting rules.
- Educational Tool: Help developers learn best practices and common coding pitfalls through real-time feedback.
- Pre-Commit Hooks: Integrate with version control systems to run linting checks before committing code changes.
Key capabilities
- JavaScript linting
- Code style enforcement
- Error detection
- Automated fixes (potentially)
- Configuration via
.eslintrcfiles
Example prompts
- "Lint this JavaScript file: [file path]"
- "Check the code for stylistic issues and suggest improvements."
- "Run ESLint on my project and report any errors."
Tips & gotchas
- Requires a valid
.eslintrcconfiguration file to be present in the codebase. Without it, ESLint will use default rules which may not match your desired style.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.