ESLint Auto-Fix Pipeline

Runs ESLint with the --fix flag across JavaScript and TypeScript codebases, applying auto-fixable rules from eslint-config-airbnb and @typescript-eslint/recommended. Generates diff reports for manual review of remaining issues.

agentskillexchange Updated 28 repo stars

File contents

ESLint Auto-Fix Pipeline

Runs ESLint with the --fix flag across JavaScript and TypeScript codebases, applying auto-fixable rules from eslint-config-airbnb and @typescript-eslint/recommended. Generates diff reports for manual review of remaining issues.

Installation

Use the upstream install or setup path that matches your environment:

  • npm init @eslint/config@latest
  • npx eslint yourfile.js

Requirements and caveats from upstream:

  • To use ESLint, you must have Node.js (^20.19.0, ^22.13.0, or >=24) installed and built with SSL support. (If you are using an official Node.js distribution, SSL is always built in.)
  • node-linker=hoisted
  • Which Node.js versions does ESLint support?

Basic usage or getting-started notes:

Source

agentskillexchange/skills/tree/main/skills/eslint-autofix-pipeline commit ab8e24aedb

Frequently asked questions

npx skillmds@latest add agentskillexchange/eslint-auto-fix-pipeline