1.5 KiB
1.5 KiB
name, enabled, event, action, conditions
| name | enabled | event | action | conditions | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| block-biome-ignore | true | file | block |
|
🚫 BLOCKED: Type/Lint Suppression Comment Detected
You are attempting to add a lint or type suppression comment to a JavaScript/TypeScript file.
Detected suppression patterns:
// biome-ignore- Biome linter suppression// @ts-ignore- TypeScript error suppression// @ts-expect-error- TypeScript expected error suppression// @ts-nocheck- Disables TypeScript checking for entire file// eslint-disable- ESLint rule suppression/* eslint-disable */- ESLint block suppression
Why this is blocked: Type and lint suppressions hide problems rather than fixing them. They accumulate as technical debt and mask real issues.
What you MUST do instead:
- Fix the root cause - Properly type your code or fix the lint violation
- Refactor if needed - If the type system can't express your intent, restructure the code
- Use proper typing - Add explicit type annotations, type guards, or type assertions
- Ask for help - If genuinely stuck, ask the user for guidance on the correct approach
Remember: A clean codebase has zero suppression comments. Every suppression is a bug waiting to happen.