lint-fix

Automatically fix ESLint errors across Sisense SDK packages.

38|15|Updated Jul 26, 2023
One-click install
npx skills add https://github.com/sisense/compose-sdk-monorepo --skill lint-fix-sisense
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint-fix
Source: https://github.com/sisense/compose-sdk-monorepo/tree/main/.claude/skills/lint-fix
Command: npx skills add https://github.com/sisense/compose-sdk-monorepo --skill lint-fix-sisense

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Lint failures and inconsistent imports across SDK packages slow development, cause merge conflicts, and obscure quality issues. This Skill runs ESLint with auto-fix to quickly correct safe lint violations, enforce consistent styling, and prepare code for review.

Core Features & Use Cases

  • Auto-fix common ESLint errors across all SDK packages
  • Clean up imports and enforce consistent code style
  • Use case: before committing changes, run lint-fix to ensure a clean, review-ready patch

Quick Start

Run lint:fix on the affected packages to automatically apply safe lint fixes.

Frequently Asked Questions about lint-fix

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

FAQPage Schema
How do I auto-fix ESLint errors across multiple TypeScript packages?

To auto-fix ESLint errors across TypeScript packages, run a lint-fix process that applies ESLint autofix rules across the monorepo. This automatically corrects safe lint violations and cleans up imports to prepare your code for review.

Can I use ESLint autofix in a pre-commit hook for an SDK monorepo?

Yes, you can use ESLint autofix in a pre-commit hook for an SDK monorepo. The lint-fix process applies safe autofix rules during pre-commit checks and CI pipelines to enforce consistent code styling before changes are merged.

What is the best way to clean up TypeScript imports and fix lint failures?

The best way to clean up TypeScript imports and fix lint failures is running ESLint with auto-fix. This enforces consistent code style across SDK packages and automatically resolves safe import violations to prevent merge conflicts.

Does ESLint autofix limit risky code edits when resolving lint issues?

Yes, ESLint autofix limits risky code edits when resolving lint issues. The lint-fix mechanism specifically targets safe ESLint violations to automatically correct styling and import inconsistencies without applying dangerous code modifications.

Why does running ESLint fix on a monorepo leave some lint errors unresolved?

Running ESLint fix on a monorepo leaves some lint errors unresolved because the autofix process deliberately limits risky edits. It only applies safe fixes to improve code quality and documents remaining common lint issues for manual review.