Eslint
Automatically enforces Ghost Types coding standards and best practices using ESLint rules for cleaner, consistent code.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add ghosttypes-eslint npx -- -y @trustedskills/ghosttypes-eslint
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"ghosttypes-eslint": {
"command": "npx",
"args": [
"-y",
"@trustedskills/ghosttypes-eslint"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill provides access to ESLint, a popular linting tool for JavaScript and TypeScript. It helps identify and fix stylistic and programmatic errors in code, ensuring consistency and maintainability. The skill allows agents to analyze codebases, enforce coding standards, and improve overall code quality.
When to use it
- Code Review: Use the skill to automatically review a codebase for potential issues before merging changes.
- Automated Formatting: Integrate ESLint into your workflow to automatically format code according to defined style guides.
- New Project Setup: Quickly configure ESLint in new projects to establish coding standards from the beginning.
- Refactoring Assistance: Identify and address common errors during refactoring efforts, ensuring code remains clean and functional.
Key capabilities
- JavaScript & TypeScript linting
- Enforcement of coding style guides
- Identification of potential programmatic errors
- Automated code formatting
Example prompts
- "Analyze this JavaScript file for ESLint violations: [file content]"
- "Format this TypeScript code according to the Airbnb style guide."
- "Check this codebase for unused variables and suggest fixes."
Tips & gotchas
- Requires a basic understanding of JavaScript or TypeScript.
- The specific rules enforced by ESLint are configurable, so ensure you understand the configured ruleset before using the skill.
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.