linter-fixer

Automatically fix linting errors and format JavaScript/TypeScript code.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Techlemariam/IronForge --skill linter-fixer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: linter-fixer
Source: https://github.com/Techlemariam/IronForge/tree/main/.agent/skills/linter-fixer
Command: npx skills add https://github.com/Techlemariam/IronForge --skill linter-fixer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the cleanup of code by applying ESLint fixes, formatting with Prettier, and organizing imports to maintain a clean, consistent codebase.

Core Features & Use Cases

  • ESLint Auto-fix: npm run lint -- --fix
  • Prettier Format: npx prettier --write
  • Import Sorting: Organize imports by type
  • Dead Code Detection: Find unused exports

Quick Start

Run the linter fixer on your project to automatically fix lint errors and organize imports.

Frequently Asked Questions about linter-fixer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I auto-fix lint errors and format code in a TypeScript project?

You can auto-fix lint errors and format code by running ESLint with the --fix flag and Prettier with the --write flag. This automatically resolves linting issues, applies formatting, and organizes imports across your JavaScript and TypeScript files.

What is the best way to sort imports and detect dead code in JavaScript?

The best way to sort imports and detect dead code is to use an automated linter-fixer workflow. It organizes imports by type and identifies unused exports, ensuring your codebase remains clean and consistent during development.

Can I use ESLint and Prettier together in continuous integration workflows?

Yes, you can use ESLint and Prettier together in continuous integration workflows. Running automated formatting and lint fixing during CI ensures code consistency across all files before changes are merged into the main branch.

How do I automate code cleanup for pre-commit hooks?

To automate code cleanup for pre-commit hooks, configure your workflow to run ESLint auto-fix, Prettier formatting, and import sorting. This automatically enforces code consistency and resolves lint errors before changes are committed.

Does automated lint fixing work for both JavaScript and TypeScript files?

Automated lint fixing works for both JavaScript and TypeScript projects. It applies ESLint fixes, Prettier formatting, and import sorting to maintain a clean and consistent codebase across both languages.

Why should I automate import sorting and formatting during code reviews?

Automating import sorting and formatting during code reviews enforces codebase consistency without manual effort. It automatically applies formatting and organizes imports, allowing reviewers to focus on logic rather than style issues.