Eslint Prettier Husky Config

🌐Community
by hopeoverture · vlatest · Repository

Helps with ESLint, Prettier as part of agent workflows 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 eslint-prettier-husky-config npx -- -y @trustedskills/eslint-prettier-husky-config
2

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

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

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

About This Skill

What it does

This skill automates code formatting and linting using ESLint, Prettier, and Husky. It ensures consistent coding style across a project by automatically formatting files on commit and enforcing code quality rules. This helps maintain clean, readable, and error-free JavaScript/TypeScript codebases.

When to use it

  • New Projects: Automatically set up standard code formatting and linting for new projects from the start.
  • Existing Codebases: Integrate consistent code style into existing projects with minimal manual intervention.
  • Team Collaboration: Enforce a shared coding style across multiple developers working on the same project.
  • Automated Workflows: Integrate code formatting and linting checks into CI/CD pipelines for automated quality assurance.

Key capabilities

  • ESLint integration for JavaScript/TypeScript linting.
  • Prettier integration for automatic code formatting.
  • Husky integration to run linters and formatters before commits.

Example prompts

  • "Set up ESLint, Prettier, and Husky in my project."
  • "Configure the project with a standard JavaScript coding style using ESLint and Prettier."
  • “Automate code formatting on commit.”

Tips & gotchas

  • Requires Node.js to be installed.
  • May require adjustments to .eslintrc.js or prettierrc.js for specific project needs.

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
hopeoverture
Installs
22

🌐 Community

Passed automated security scans.