Fix Eslint

🌐Community
by otrebu · vlatest · Repository

Automatically resolves common ESLint errors and warnings in JavaScript code, streamlining development workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add fix-eslint npx -- -y @trustedskills/fix-eslint
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "fix-eslint": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/fix-eslint"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill automatically fixes ESLint errors in JavaScript and React code. It analyzes your codebase, identifies violations of ESLint rules, and applies the necessary changes to correct them. The tool aims to streamline development workflows by reducing manual error correction and ensuring consistent coding style.

When to use it

  • Automated Code Cleanup: Integrate into CI/CD pipelines to automatically fix ESLint errors before merging code.
  • Large Codebases: Quickly address a large number of ESLint violations in existing projects.
  • Enforcing Coding Standards: Maintain consistent coding style across a team by automatically correcting deviations from defined rules.
  • New Project Setup: Ensure new projects adhere to established ESLint configurations from the start.

Key capabilities

  • Automatic ESLint error correction
  • JavaScript and React code support
  • Integration with CI/CD pipelines (implied)
  • Enforcement of coding standards

Example prompts

  • "Fix all ESLint errors in this file: src/components/MyComponent.js."
  • "Run ESLint and automatically fix any violations found in the entire project."
  • "Correct the code style according to our team's ESLint configuration."

Tips & gotchas

  • Ensure an ESLint configuration (.eslintrc.js, .eslintrc.json, etc.) is already present in your project for this skill to function correctly.

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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
otrebu
Installs
14

🌐 Community

Passed automated security scans.