Skip to content
Fallow home
All docs pages

Docs home

Rules

The Rules pages of the Fallow documentation.

Dead code

  • Absent optional component props: What an absent-component-prop finding of fallow dead-code means, why it matters and how to fix it.
  • Constant parameters: What a constant-parameter finding of fallow dead-code means, why it matters and how to fix it.
  • Deprecated exports in use: What a deprecated-export-in-use finding of fallow dead-code means, why it matters and how to fix it.
  • Duplicate export aliases: What a duplicate-export-alias finding of fallow dead-code means, why it matters and how to fix it.
  • Duplicate exports: What a duplicate-export finding of fallow dead-code means, why it matters and how to fix it.
  • Duplicate prop shapes: What a duplicate-prop-shape finding of fallow dead-code means, why it matters and how to fix it.
  • Namespace escapes: What a namespace-escape finding of fallow dead-code means, why it matters and how to fix it.
  • Private type leaks: What a private-type-leak finding of fallow dead-code means, why it matters and how to fix it.
  • Prop drilling: What a prop-drilling finding of fallow dead-code means, why it matters and how to fix it.
  • Test-only exports: What a test-only-export finding of fallow dead-code means, why it matters and how to fix it.
  • Thin wrappers: What a thin-wrapper finding of fallow dead-code means, why it matters and how to fix it.
  • Unproduced catch tags: What an unproduced-catch-tag finding of fallow dead-code means, why it matters and how to fix it.
  • Unprovided injects: What an unprovided-inject finding of fallow dead-code means, why it matters and how to fix it.
  • Unrendered components: What an unrendered-component finding of fallow dead-code means, why it matters and how to fix it.
  • Unresolved imports: What an unresolved-import finding of fallow dead-code means, why it matters and how to fix it.
  • Unused class members: What an unused-class-member finding of fallow dead-code means, why it matters and how to fix it.
  • Unused component emits: What an unused-component-emit finding of fallow dead-code means, why it matters and how to fix it.
  • Unused component inputs: What an unused-component-input finding of fallow dead-code means, why it matters and how to fix it.
  • Unused component outputs: What an unused-component-output finding of fallow dead-code means, why it matters and how to fix it.
  • Unused component props: What an unused-component-prop finding of fallow dead-code means, why it matters and how to fix it.
  • Unused Effect layers: What an unused-effect-layer finding of fallow dead-code means, why it matters and how to fix it.
  • Unused enum members: What an unused-enum-member finding of fallow dead-code means, why it matters and how to fix it.
  • Unused exports: What an unused-export finding of fallow dead-code means, why it matters and how to fix it.
  • Unused files: What an unused-file finding of fallow dead-code means, why it matters and how to fix it.
  • Unused load data keys: What an unused-load-data-key finding of fallow dead-code means, why it matters and how to fix it.
  • Unused namespace members: What an unused-namespace-member finding of fallow dead-code means, why it matters and how to fix it.
  • Unused protected class members: What an unused-protected-class-member finding of fallow dead-code means, why it matters and how to fix it.
  • Unused server actions: What an unused-server-action finding of fallow dead-code means, why it matters and how to fix it.
  • Unused store members: What an unused-store-member finding of fallow dead-code means, why it matters and how to fix it.
  • Unused Svelte events: What an unused-svelte-event finding of fallow dead-code means, why it matters and how to fix it.
  • Unused tagged errors: What an unused-tagged-error finding of fallow dead-code means, why it matters and how to fix it.
  • Unused types: What an unused-type finding of fallow dead-code means, why it matters and how to fix it.

Dependencies

  • Dev dependencies used in production: What a dev-dependency-in-production finding of fallow dead-code means, why it matters and how to fix it.
  • Empty catalog groups: What an empty-catalog-group finding of fallow dead-code means, why it matters and how to fix it.
  • Misconfigured dependency overrides: What a misconfigured-dependency-override finding of fallow dead-code means, why it matters and how to fix it.
  • Test-only dependencies: What a test-only-dependency finding of fallow dead-code means, why it matters and how to fix it.
  • Type-only dependencies: What a type-only-dependency finding of fallow dead-code means, why it matters and how to fix it.
  • Unlisted binaries: What an unlisted-binary finding of fallow dead-code means, why it matters and how to fix it.
  • Unlisted dependencies: What an unlisted-dependency finding of fallow dead-code means, why it matters and how to fix it.
  • Unresolved catalog references: What an unresolved-catalog-reference finding of fallow dead-code means, why it matters and how to fix it.
  • Unused catalog entries: What an unused-catalog-entry finding of fallow dead-code means, why it matters and how to fix it.
  • Unused dependencies: What an unused-dependency finding of fallow dead-code means, why it matters and how to fix it.
  • Unused dependency overrides: What an unused-dependency-override finding of fallow dead-code means, why it matters and how to fix it.
  • Unused devDependencies: What an unused-dev-dependency finding of fallow dead-code means, why it matters and how to fix it.
  • Unused optionalDependencies: What an unused-optional-dependency finding of fallow dead-code means, why it matters and how to fix it.

Architecture

  • Boundary calls: What a boundary-call-violation finding of fallow architecture means, why it matters and how to fix it.
  • Boundary coverage: What a boundary-coverage finding of fallow architecture means, why it matters and how to fix it.
  • Boundary violations: What a boundary-violation finding of fallow architecture means, why it matters and how to fix it.
  • Circular dependencies: What a circular-dependency finding of fallow architecture means, why it matters and how to fix it.
  • Dynamic segment conflicts: What a dynamic-segment-name-conflict finding of fallow dead-code means, why it matters and how to fix it.
  • Invalid client exports: What an invalid-client-export finding of fallow dead-code means, why it matters and how to fix it.
  • Misplaced directives: What a misplaced-directive finding of fallow dead-code means, why it matters and how to fix it.
  • Mixed client/server barrels: What a mixed-client-server-barrel finding of fallow dead-code means, why it matters and how to fix it.
  • Package cycles: What a package-cycle finding of fallow architecture means, why it matters and how to fix it.
  • Policy violations: What a policy-violation finding of fallow architecture means, why it matters and how to fix it.
  • Re-export cycles: What a re-export-cycle finding of fallow architecture means, why it matters and how to fix it.
  • Route collisions: What a route-collision finding of fallow dead-code means, why it matters and how to fix it.

Health

  • High cognitive complexity: What a high-cognitive-complexity finding of fallow health means, why it matters and how to fix it.
  • High complexity (both): What a high-complexity finding of fallow health means, why it matters and how to fix it.
  • High CRAP score: What a high-crap-score finding of fallow health means, why it matters and how to fix it.
  • High cyclomatic complexity: What a high-cyclomatic-complexity finding of fallow health means, why it matters and how to fix it.
  • Long file: What a long-file finding of fallow health means, why it matters and how to fix it.
  • Refactoring target: What a refactoring-target finding of fallow health means, why it matters and how to fix it.
  • Shallow directory: What a shallow-directory finding of fallow health means, why it matters and how to fix it.
  • Untested export: What an untested-export finding of fallow health means, why it matters and how to fix it.
  • Untested file: What an untested-file finding of fallow health means, why it matters and how to fix it.

Styling

  • CSS broken reference: What a css-broken-reference finding of fallow health means, why it matters and how to fix it.
  • CSS dead surface: What a css-dead-surface finding of fallow health means, why it matters and how to fix it.
  • CSS duplicate block: What a css-duplicate-block finding of fallow health means, why it matters and how to fix it.
  • CSS selector complexity: What a css-selector-complexity finding of fallow health means, why it matters and how to fix it.
  • CSS token drift: What a css-token-drift finding of fallow health means, why it matters and how to fix it.

Runtime coverage

Duplication

  • Code duplication: What a code-duplication finding of fallow dupes means, why it matters and how to fix it.

Feature flags

  • Feature flags: What a feature-flag finding of fallow flags means, why it matters and how to fix it.
  • Flag retirement candidate: What a flag-retirement-candidate finding of fallow flags means, why it matters and how to fix it.

Security

Changed code

  • Added dependencies: What an added-dependency finding of fallow audit means, why it matters and how to fix it.
  • Added suppressions: What an added-suppression finding of fallow audit means, why it matters and how to fix it.
  • Diverged clone siblings: What a diverged-clone-sibling finding of fallow audit means, why it matters and how to fix it.
  • Test-only branches: What a test-only-branch finding of fallow audit means, why it matters and how to fix it.
  • Weakened tests: What a weakened-tests finding of fallow audit means, why it matters and how to fix it.

Mutation testing

  • Survived mutants: What a mutation-survived finding of fallow mutation means, why it matters and how to fix it.

Suppressions

  • Missing suppression reasons: What a missing-suppression-reason finding of fallow dead-code means, why it matters and how to fix it.
  • Stale suppressions: What a stale-suppression finding of fallow dead-code means, why it matters and how to fix it.