rule-no-lint-suppress

Enforce explicit handling of lint and TypeScript errors without suppression directives.

Updated Jan 25, 2026
One-click install
npx skills add https://github.com/FelipePepe/TeamHub --skill rule-no-lint-suppress
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rule-no-lint-suppress
Source: https://github.com/FelipePepe/TeamHub/tree/main/.agents/skills/rule-no-lint-suppress
Command: npx skills add https://github.com/FelipePepe/TeamHub --skill rule-no-lint-suppress

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This rule prevents suppressing lint or TypeScript errors, helping teams avoid hidden bugs and debt.

Core Features & Use Cases

  • Prohibits suppression directives such as eslint-disable, @ts-ignore, and eslint-disable-next-line.
  • Guides developers to fix the underlying issue, or adjust lint/config rules when appropriate.
  • Real-world scenario: a teammate tries to push code with a suppression comment; the skill prompts code fixes and higher-quality changes.

Quick Start

When you encounter a lint or TypeScript error, fix the root cause instead of suppressing it.

Frequently Asked Questions about rule-no-lint-suppress

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

FAQPage Schema
How do I prevent eslint-disable and @ts-ignore comments in my TypeScript codebase?

To prevent eslint-disable and @ts-ignore comments in your TypeScript codebase, enforce a no-suppression rule across CI and development workflows. This requires explicit handling of lint and TypeScript errors, prompting developers to fix root causes instead of silencing issues.

Why should I ban lint suppression directives instead of fixing errors later?

Banning lint suppression directives prevents hidden bugs and technical debt. When developers use comments like eslint-disable or @ts-ignore, they mask underlying issues; requiring explicit fixes ensures higher-quality changes and maintains coding standards.

What is the best way to enforce no error suppression in CI pipelines?

The best way to enforce no error suppression in CI pipelines is to apply a no-lint-suppress rule that blocks code containing suppression directives. This guides developers to safely remediate issues or adjust lint configurations before merging code.

How do I fix TypeScript errors without using suppression comments?

To fix TypeScript errors without suppression comments, address the root cause directly by correcting type definitions or logic. If the error is a false positive, adjust the TypeScript or ESLint configuration rules appropriately rather than silencing the warning.

Can I use a no-suppression rule with my existing static analysis workflow?

Yes, you can integrate a no-suppression rule with your existing static analysis workflow. It applies across both CI and local development environments to ensure lint and TypeScript errors are addressed rather than silenced during code reviews.

What happens when a teammate pushes code with an eslint-disable comment?

When a teammate pushes code with an eslint-disable comment, the no-suppress rule triggers a prompt for code fixes. It blocks the suppression directive and guides the developer toward addressing the underlying issue to ensure higher-quality changes.