Home / Type/ LintRulePreset Type — react Architecture

LintRulePreset Type — react Architecture

Architecture documentation for the LintRulePreset type/interface in CompilerError.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  a1583118_9ed1_f909_f387_8929ccf2783e["LintRulePreset"]
  e96f281e_f381_272d_2359_3e6a091c9a1d["CompilerError.ts"]
  a1583118_9ed1_f909_f387_8929ccf2783e -->|defined in| e96f281e_f381_272d_2359_3e6a091c9a1d
  style a1583118_9ed1_f909_f387_8929ccf2783e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/CompilerError.ts lines 735–748

export enum LintRulePreset {
  /**
   * Rules that are stable and included in the `recommended` preset.
   */
  Recommended = 'recommended',
  /**
   * Rules that are more experimental and only included in the `recommended-latest` preset.
   */
  RecommendedLatest = 'recommended-latest',
  /**
   * Rules that are disabled.
   */
  Off = 'off',
}

Frequently Asked Questions

What is the LintRulePreset type?
LintRulePreset is a type/interface in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/CompilerError.ts.
Where is LintRulePreset defined?
LintRulePreset is defined in compiler/packages/babel-plugin-react-compiler/src/CompilerError.ts at line 735.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free