uilint-eslint 0.2.162 → 0.2.164

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -461,6 +461,14 @@ declare const rules: {
461
461
  }], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
462
462
  name: string;
463
463
  };
464
+ "no-raw-ui-elements": _typescript_eslint_utils_ts_eslint.RuleModule<"rawElement", [({
465
+ preferred?: "shadcn" | "mui" | "chakra" | "antd" | "auto" | "custom";
466
+ elements?: string[];
467
+ components?: Partial<Record<"button" | "input" | "input:checkbox" | "input:radio" | "input:range" | "textarea" | "select" | "dialog", string>>;
468
+ ignoreFiles?: string[];
469
+ } | undefined)?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
470
+ name: string;
471
+ };
464
472
  "enforce-absolute-imports": _typescript_eslint_utils_ts_eslint.RuleModule<"preferAbsoluteImport", [{
465
473
  maxRelativeDepth?: number;
466
474
  aliasPrefix?: string;
@@ -521,7 +529,7 @@ declare const rules: {
521
529
  }], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
522
530
  name: string;
523
531
  };
524
- "prefer-tailwind": _typescript_eslint_utils_ts_eslint.RuleModule<"preferTailwind" | "preferSemanticColors" | "preferSemanticColorsWithSuggestion", [({
532
+ "prefer-tailwind": _typescript_eslint_utils_ts_eslint.RuleModule<"preferTailwind" | "preferSemanticColors" | "preferSemanticColorsWithSuggestion" | "preferSemanticClassGroups" | "semanticOpacityModifier", [({
525
533
  styleRatioThreshold?: number;
526
534
  minElementsForAnalysis?: number;
527
535
  allowedStyleProperties?: string[];
@@ -529,6 +537,12 @@ declare const rules: {
529
537
  preferSemanticColors?: boolean;
530
538
  allowedHardCodedColors?: string[];
531
539
  useLlmSuggestions?: boolean;
540
+ preferSemanticClassGroups?: boolean;
541
+ visualUtilityThreshold?: number;
542
+ visualUtilityMinGroups?: number;
543
+ disallowSemanticOpacityModifiers?: boolean;
544
+ allowedOpacityModifierClasses?: string[];
545
+ allowedVisualUtilityClasses?: string[];
532
546
  } | undefined)?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
533
547
  name: string;
534
548
  };
@@ -573,6 +587,14 @@ declare const plugin: {
573
587
  }], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
574
588
  name: string;
575
589
  };
590
+ "no-raw-ui-elements": _typescript_eslint_utils_ts_eslint.RuleModule<"rawElement", [({
591
+ preferred?: "shadcn" | "mui" | "chakra" | "antd" | "auto" | "custom";
592
+ elements?: string[];
593
+ components?: Partial<Record<"button" | "input" | "input:checkbox" | "input:radio" | "input:range" | "textarea" | "select" | "dialog", string>>;
594
+ ignoreFiles?: string[];
595
+ } | undefined)?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
596
+ name: string;
597
+ };
576
598
  "enforce-absolute-imports": _typescript_eslint_utils_ts_eslint.RuleModule<"preferAbsoluteImport", [{
577
599
  maxRelativeDepth?: number;
578
600
  aliasPrefix?: string;
@@ -633,7 +655,7 @@ declare const plugin: {
633
655
  }], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
634
656
  name: string;
635
657
  };
636
- "prefer-tailwind": _typescript_eslint_utils_ts_eslint.RuleModule<"preferTailwind" | "preferSemanticColors" | "preferSemanticColorsWithSuggestion", [({
658
+ "prefer-tailwind": _typescript_eslint_utils_ts_eslint.RuleModule<"preferTailwind" | "preferSemanticColors" | "preferSemanticColorsWithSuggestion" | "preferSemanticClassGroups" | "semanticOpacityModifier", [({
637
659
  styleRatioThreshold?: number;
638
660
  minElementsForAnalysis?: number;
639
661
  allowedStyleProperties?: string[];
@@ -641,6 +663,12 @@ declare const plugin: {
641
663
  preferSemanticColors?: boolean;
642
664
  allowedHardCodedColors?: string[];
643
665
  useLlmSuggestions?: boolean;
666
+ preferSemanticClassGroups?: boolean;
667
+ visualUtilityThreshold?: number;
668
+ visualUtilityMinGroups?: number;
669
+ disallowSemanticOpacityModifiers?: boolean;
670
+ allowedOpacityModifierClasses?: string[];
671
+ allowedVisualUtilityClasses?: string[];
644
672
  } | undefined)?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
645
673
  name: string;
646
674
  };