switchyard
    Preparing search index...

    Variable defaultConst

    default: {
        configs: Record<string, unknown>;
        meta: { name: string };
        rules: {
            "exhaustive-state-switch": RuleModule;
            "no-unknown-guard": RuleModule;
            "no-unreachable-state": RuleModule;
            "state-brand": RuleModule;
        };
    } = ...

    The plugin: no-unreachable-state, no-unknown-guard and exhaustive-state-switch, and a recommended flat config that turns them on.

    Type Declaration

    • configs: Record<string, unknown>
    • meta: { name: string }
    • rules: {
          "exhaustive-state-switch": RuleModule;
          "no-unknown-guard": RuleModule;
          "no-unreachable-state": RuleModule;
          "state-brand": RuleModule;
      }