Skip to main content
Suppress specific findings with inline comments. Useful for false positives or intentional exceptions.
Prefer config-level rules for broad patterns. Use inline suppression sparingly for individual exceptions.

Comment syntax

// Suppress all issues on the next line
// fallow-ignore-next-line
export const keepThis = 1;

// Suppress a specific issue type
// fallow-ignore-next-line unused-export
export const keepThisToo = 2;

// Suppress all issues in the entire file
// fallow-ignore-file

// Suppress a specific issue type file-wide
// fallow-ignore-file unused-export

Reference

CommentScope
// fallow-ignore-next-lineAll issues on the next line
// fallow-ignore-next-line <type>Specific issue on the next line
// fallow-ignore-fileAll issues in the file
// fallow-ignore-file <type>Specific issue type for the file

Issue type tokens

Use these tokens with suppression comments:
TokenIssue
unused-fileUnused file
unused-exportUnused export
unused-typeUnused type
unused-dependencyUnused dependency
unused-dev-dependencyUnused devDependency
unused-enum-memberUnused enum member
unused-class-memberUnused class member
unresolved-importUnresolved import
unlisted-dependencyUnlisted dependency
duplicate-exportDuplicate export
code-duplicationCode duplication

When to use suppression

Prefer config-level solutions (rules, ignoreExports) for broad patterns. Use inline suppression for:
  • Individual false positives
  • Intentional exceptions (e.g., exports for external consumers)
  • Temporary suppression during migration
Don’t suppress systemic issues. If a pattern affects many files, configure it at the project level instead.

Config-level vs inline suppression

// src/components/Button.tsx
// fallow-ignore-next-line unused-export
export const Button = () => { /* ... */ };

// src/components/Input.tsx
// fallow-ignore-next-line unused-export
export const Input = () => { /* ... */ };

// src/components/Modal.tsx
// fallow-ignore-next-line unused-export
export const Modal = () => { /* ... */ };

// Repeated across dozens of component files...

See also

Rules & Severity

Control issue severity at the project level.

Configuration

Full config file reference including ignoreExports and ignorePatterns.