@2digits/eslint-config 4.12.4 → 4.12.5

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +312 -6
  2. package/package.json +6 -6
package/dist/index.d.mts CHANGED
@@ -330,6 +330,11 @@ interface RuleOptions {
330
330
  * @see https://github.com/eslint/css/blob/main/docs/rules/no-invalid-properties.md
331
331
  */
332
332
  'css/no-invalid-properties'?: Linter.RuleEntry<CssNoInvalidProperties>;
333
+ /**
334
+ * Disallow unmatchable selectors
335
+ * @see https://github.com/eslint/css/blob/main/docs/rules/no-unmatchable-selectors.md
336
+ */
337
+ 'css/no-unmatchable-selectors'?: Linter.RuleEntry<[]>;
333
338
  /**
334
339
  * Enforce the use of logical properties
335
340
  * @see https://github.com/eslint/css/blob/main/docs/rules/prefer-logical-properties.md
@@ -8020,8 +8025,8 @@ type CssNoInvalidProperties = [] | [{
8020
8025
  }];
8021
8026
  // ----- css/prefer-logical-properties -----
8022
8027
  type CssPreferLogicalProperties = [] | [{
8023
- allowProperties?: string[];
8024
- allowUnits?: string[];
8028
+ allowProperties?: ("bottom" | "border-bottom" | "border-bottom-color" | "border-bottom-left-radius" | "border-bottom-right-radius" | "border-bottom-style" | "border-bottom-width" | "border-left" | "border-left-color" | "border-left-style" | "border-left-width" | "border-right" | "border-right-color" | "border-right-style" | "border-right-width" | "border-top" | "border-top-color" | "border-top-left-radius" | "border-top-right-radius" | "border-top-style" | "border-top-width" | "contain-intrinsic-height" | "contain-intrinsic-width" | "height" | "left" | "margin-bottom" | "margin-left" | "margin-right" | "margin-top" | "max-height" | "max-width" | "min-height" | "min-width" | "overflow-x" | "overflow-y" | "overscroll-behavior-x" | "overscroll-behavior-y" | "padding-bottom" | "padding-left" | "padding-right" | "padding-top" | "right" | "scroll-margin-bottom" | "scroll-margin-left" | "scroll-margin-right" | "scroll-margin-top" | "scroll-padding-bottom" | "scroll-padding-left" | "scroll-padding-right" | "scroll-padding-top" | "top" | "width")[];
8029
+ allowUnits?: ("cqh" | "cqw" | "dvh" | "dvw" | "lvh" | "lvw" | "svh" | "svw" | "vh" | "vw")[];
8025
8030
  }];
8026
8031
  // ----- css/relative-font-units -----
8027
8032
  type CssRelativeFontUnits = [] | [{
@@ -8042,14 +8047,315 @@ type CssSelectorComplexity = [] | [{
8042
8047
  disallowPseudoElements?: string[];
8043
8048
  disallowAttributes?: string[];
8044
8049
  disallowAttributeMatchers?: string[];
8045
- [k: string]: unknown | undefined;
8046
8050
  }];
8047
8051
  // ----- css/use-baseline -----
8048
8052
  type CssUseBaseline = [] | [{
8049
8053
  available?: (("widely" | "newly") | number);
8050
- allowAtRules?: string[];
8051
- allowProperties?: string[];
8052
- allowSelectors?: string[];
8054
+ allowAtRules?: ("position-try" | "keyframes" | "layer" | "charset" | "container" | "counter-style" | "view-transition" | "font-face" | "font-palette-values" | "font-feature-values" | "function" | "import" | "media" | "namespace" | "page" | "property" | "scope" | "starting-style" | "supports")[];
8055
+ allowFunctions?: ("abs" | "sign" | "anchor" | "anchor-size" | "color" | "attr" | "calc" | "calc-size" | "rect" | "color-mix" | "conic-gradient" | "repeating-conic-gradient" | "round" | "counter" | "counters" | "cross-fade" | "cubic-bezier" | "var" | "element" | "exp" | "hypot" | "log" | "pow" | "sqrt" | "blur" | "brightness" | "contrast" | "drop-shadow" | "grayscale" | "hue-rotate" | "invert" | "opacity" | "saturate" | "sepia" | "linear-gradient" | "radial-gradient" | "repeating-linear-gradient" | "repeating-radial-gradient" | "image" | "hsl" | "hwb" | "image-set" | "lab" | "lch" | "light-dark" | "clamp" | "max" | "min" | "ray" | "oklab" | "oklch" | "paint" | "path" | "rem" | "rgb" | "mod" | "env" | "circle" | "ellipse" | "inset" | "polygon" | "xywh" | "steps" | "matrix" | "rotate" | "scale" | "scaleX" | "scaleY" | "skew" | "skewX" | "skewY" | "translate" | "translateX" | "translateY" | "matrix3d" | "perspective" | "rotate3d" | "rotateX" | "rotateY" | "rotateZ" | "scale3d" | "scaleZ" | "translate3d" | "translateZ" | "acos" | "asin" | "atan" | "atan2" | "cos" | "sin" | "tan")[];
8056
+ allowMediaConditions?: ("color-gamut" | "device-posture" | "device-aspect-ratio" | "device-height" | "device-width" | "display-mode" | "dynamic-range" | "forced-colors" | "any-hover" | "any-pointer" | "hover" | "pointer" | "inverted-colors" | "aspect-ratio" | "calc" | "color" | "color-index" | "grid" | "height" | "monochrome" | "nested-queries" | "orientation" | "width" | "overflow-block" | "overflow-inline" | "prefers-color-scheme" | "prefers-contrast" | "prefers-reduced-data" | "prefers-reduced-motion" | "prefers-reduced-transparency" | "resolution" | "-webkit-device-pixel-ratio" | "-webkit-max-device-pixel-ratio" | "-webkit-min-device-pixel-ratio" | "scripting" | "-webkit-transform-3d" | "update" | "video-dynamic-range" | "horizontal-viewport-segments" | "vertical-viewport-segments")[];
8057
+ allowProperties?: ("accent-color" | "alignment-baseline" | "all" | "anchor-name" | "anchor-scope" | "position-anchor" | "position-area" | "position-try" | "position-try-fallbacks" | "position-try-order" | "position-visibility" | "animation-composition" | "animation" | "animation-delay" | "animation-direction" | "animation-duration" | "animation-fill-mode" | "animation-iteration-count" | "animation-name" | "animation-play-state" | "animation-timing-function" | "appearance" | "aspect-ratio" | "backdrop-filter" | "background" | "background-attachment" | "background-blend-mode" | "background-clip" | "background-color" | "background-image" | "background-origin" | "background-position" | "background-position-x" | "background-position-y" | "background-repeat" | "background-size" | "baseline-shift" | "baseline-source" | "border-image" | "border-image-outset" | "border-image-repeat" | "border-image-slice" | "border-image-source" | "border-image-width" | "border-bottom-left-radius" | "border-bottom-right-radius" | "border-radius" | "border-top-left-radius" | "border-top-right-radius" | "border" | "border-bottom" | "border-bottom-color" | "border-bottom-style" | "border-bottom-width" | "border-color" | "border-left" | "border-left-color" | "border-left-style" | "border-left-width" | "border-right" | "border-right-color" | "border-right-style" | "border-right-width" | "border-style" | "border-top" | "border-top-color" | "border-top-style" | "border-top-width" | "border-width" | "box-decoration-break" | "box-shadow" | "box-sizing" | "caret-color" | "caret-shape" | "clip" | "clip-path" | "color" | "color-adjust" | "color-scheme" | "column-fill" | "column-span" | "contain" | "contain-intrinsic-block-size" | "contain-intrinsic-height" | "contain-intrinsic-inline-size" | "contain-intrinsic-size" | "contain-intrinsic-width" | "container" | "container-name" | "container-type" | "content" | "content-visibility" | "corner-block-end-shape" | "corner-block-start-shape" | "corner-bottom-left-shape" | "corner-bottom-right-shape" | "corner-bottom-shape" | "corner-end-end-shape" | "corner-end-start-shape" | "corner-inline-end-shape" | "corner-inline-start-shape" | "corner-left-shape" | "corner-right-shape" | "corner-shape" | "corner-start-end-shape" | "corner-start-start-shape" | "corner-top-left-shape" | "corner-top-right-shape" | "corner-top-shape" | "counter-set" | "counter-increment" | "counter-reset" | "custom-property" | "display" | "dominant-baseline" | "field-sizing" | "filter" | "align-content" | "align-items" | "align-self" | "flex" | "flex-basis" | "flex-direction" | "flex-flow" | "flex-grow" | "flex-shrink" | "flex-wrap" | "justify-content" | "justify-items" | "order" | "place-content" | "place-items" | "place-self" | "clear" | "float" | "font-family" | "font-feature-settings" | "font-kerning" | "font-language-override" | "font-optical-sizing" | "font-palette" | "font" | "font-size" | "font-size-adjust" | "font-stretch" | "font-style" | "font-synthesis" | "font-synthesis-position" | "font-synthesis-small-caps" | "font-synthesis-style" | "font-synthesis-weight" | "font-variant" | "font-variant-alternates" | "font-variant-caps" | "font-variant-east-asian" | "font-variant-emoji" | "font-variant-ligatures" | "font-variant-numeric" | "font-variant-position" | "font-variation-settings" | "font-weight" | "font-width" | "forced-color-adjust" | "glyph-orientation-vertical" | "gap" | "grid" | "grid-area" | "grid-auto-columns" | "grid-auto-flow" | "grid-auto-rows" | "grid-column" | "grid-column-end" | "grid-column-start" | "grid-row" | "grid-row-end" | "grid-row-start" | "grid-template" | "grid-template-areas" | "grid-template-columns" | "grid-template-rows" | "justify-self" | "row-gap" | "hanging-punctuation" | "hyphenate-character" | "hyphenate-limit-chars" | "hyphens" | "image-orientation" | "image-rendering" | "ime-mode" | "rotate" | "scale" | "translate" | "initial-letter" | "interactivity" | "interpolate-size" | "isolation" | "direction" | "unicode-bidi" | "letter-spacing" | "line-break" | "line-clamp" | "line-height" | "list-style" | "list-style-image" | "list-style-position" | "list-style-type" | "block-size" | "border-block" | "border-block-color" | "border-block-end" | "border-block-end-color" | "border-block-end-style" | "border-block-end-width" | "border-block-start" | "border-block-start-color" | "border-block-start-style" | "border-block-start-width" | "border-block-style" | "border-block-width" | "border-end-end-radius" | "border-end-start-radius" | "border-inline" | "border-inline-color" | "border-inline-end" | "border-inline-end-color" | "border-inline-end-style" | "border-inline-end-width" | "border-inline-start" | "border-inline-start-color" | "border-inline-start-style" | "border-inline-start-width" | "border-inline-style" | "border-inline-width" | "border-start-end-radius" | "border-start-start-radius" | "inline-size" | "inset" | "inset-block" | "inset-block-end" | "inset-block-start" | "inset-inline" | "inset-inline-end" | "inset-inline-start" | "margin-block" | "margin-block-end" | "margin-block-start" | "margin-inline" | "margin-inline-end" | "margin-inline-start" | "max-block-size" | "max-inline-size" | "min-block-size" | "min-inline-size" | "overflow-block" | "overflow-inline" | "padding-block" | "padding-block-end" | "padding-block-start" | "padding-inline" | "padding-inline-end" | "padding-inline-start" | "margin" | "margin-bottom" | "margin-left" | "margin-right" | "margin-top" | "margin-trim" | "mask-border" | "mask-border-outset" | "mask-border-repeat" | "mask-border-slice" | "mask-border-source" | "mask-border-width" | "mask-type" | "mask" | "mask-clip" | "mask-composite" | "mask-image" | "mask-mode" | "mask-origin" | "mask-position" | "mask-repeat" | "mask-size" | "math-depth" | "math-shift" | "math-style" | "max-height" | "max-width" | "min-height" | "min-width" | "mix-blend-mode" | "offset" | "offset-anchor" | "offset-distance" | "offset-path" | "offset-position" | "offset-rotate" | "column-count" | "column-gap" | "column-rule" | "column-rule-color" | "column-rule-style" | "column-rule-width" | "column-width" | "columns" | "object-fit" | "object-position" | "object-view-box" | "opacity" | "fill-opacity" | "stroke-opacity" | "outline" | "outline-color" | "outline-offset" | "outline-style" | "outline-width" | "overflow-anchor" | "overflow-clip-margin" | "overflow" | "overflow-x" | "overflow-y" | "overflow-wrap" | "overlay" | "overscroll-behavior" | "overscroll-behavior-block" | "overscroll-behavior-inline" | "overscroll-behavior-x" | "overscroll-behavior-y" | "padding" | "padding-bottom" | "padding-left" | "padding-right" | "padding-top" | "page-break-after" | "page-break-before" | "page-break-inside" | "break-after" | "break-before" | "break-inside" | "page" | "paint-order" | "bottom" | "left" | "right" | "top" | "pointer-events" | "position" | "print-color-adjust" | "quotes" | "reading-flow" | "reading-order" | "resize" | "ruby-align" | "ruby-overhang" | "ruby-position" | "scroll-behavior" | "animation-range" | "animation-range-end" | "animation-range-start" | "animation-timeline" | "scroll-timeline" | "scroll-timeline-axis" | "scroll-timeline-name" | "timeline-scope" | "view-timeline" | "view-timeline-axis" | "view-timeline-inset" | "view-timeline-name" | "scroll-initial-target" | "scroll-marker-group" | "scroll-margin" | "scroll-margin-block" | "scroll-margin-block-end" | "scroll-margin-block-start" | "scroll-margin-bottom" | "scroll-margin-inline" | "scroll-margin-inline-end" | "scroll-margin-inline-start" | "scroll-margin-left" | "scroll-margin-right" | "scroll-margin-top" | "scroll-padding" | "scroll-padding-block" | "scroll-padding-block-end" | "scroll-padding-block-start" | "scroll-padding-bottom" | "scroll-padding-inline" | "scroll-padding-inline-end" | "scroll-padding-inline-start" | "scroll-padding-left" | "scroll-padding-right" | "scroll-padding-top" | "scroll-snap-align" | "scroll-snap-stop" | "scroll-snap-type" | "scrollbar-color" | "scrollbar-gutter" | "scrollbar-width" | "shape-image-threshold" | "shape-margin" | "shape-outside" | "speak" | "speak-as" | "clip-rule" | "color-interpolation" | "cx" | "cy" | "d" | "fill" | "fill-rule" | "marker" | "marker-end" | "marker-mid" | "marker-start" | "r" | "rx" | "ry" | "shape-rendering" | "stop-color" | "stop-opacity" | "stroke" | "stroke-color" | "stroke-dasharray" | "stroke-dashoffset" | "stroke-linecap" | "stroke-linejoin" | "stroke-miterlimit" | "stroke-width" | "text-anchor" | "text-rendering" | "vector-effect" | "x" | "y" | "color-interpolation-filters" | "flood-color" | "flood-opacity" | "lighting-color" | "tab-size" | "border-collapse" | "border-spacing" | "caption-side" | "empty-cells" | "table-layout" | "text-align" | "text-align-last" | "text-autospace" | "text-box" | "text-box-edge" | "text-box-trim" | "text-combine-upright" | "text-decoration" | "text-decoration-color" | "text-decoration-line" | "text-decoration-skip" | "text-decoration-skip-ink" | "text-decoration-style" | "text-decoration-thickness" | "text-emphasis" | "text-emphasis-color" | "text-emphasis-position" | "text-emphasis-style" | "text-indent" | "text-justify" | "text-orientation" | "text-overflow" | "text-shadow" | "text-size-adjust" | "text-spacing-trim" | "-webkit-text-fill-color" | "-webkit-text-stroke" | "-webkit-text-stroke-color" | "-webkit-text-stroke-width" | "text-transform" | "text-underline-offset" | "text-underline-position" | "text-wrap" | "text-wrap-mode" | "text-wrap-style" | "touch-action" | "transform-box" | "transform" | "transform-origin" | "backface-visibility" | "perspective" | "perspective-origin" | "transform-style" | "transition-behavior" | "transition" | "transition-delay" | "transition-duration" | "transition-property" | "transition-timing-function" | "user-select" | "vertical-align" | "view-transition-class" | "view-transition-name" | "visibility" | "white-space" | "white-space-collapse" | "orphans" | "widows" | "height" | "width" | "will-change" | "word-break" | "word-spacing" | "writing-mode" | "z-index" | "zoom")[];
8058
+ allowPropertyValues?: {
8059
+ position?: ("absolute" | "fixed" | "relative" | "static" | "sticky")[];
8060
+ "accent-color"?: ("auto")[];
8061
+ "alignment-baseline"?: ("alphabetic" | "baseline" | "central" | "ideographic" | "mathematical" | "middle" | "text-after-edge" | "text-before-edge")[];
8062
+ "align-items"?: ("anchor-center")[];
8063
+ "align-self"?: ("anchor-center" | "auto" | "normal" | "stretch")[];
8064
+ "anchor-name"?: ("none")[];
8065
+ "anchor-scope"?: ("all" | "none")[];
8066
+ "block-size"?: ("anchor-size" | "fit-content" | "max-content" | "min-content")[];
8067
+ bottom?: ("anchor" | "anchor-size" | "auto")[];
8068
+ height?: ("anchor-size" | "fit-content" | "max-content" | "min-content" | "stretch" | "auto")[];
8069
+ "inline-size"?: ("anchor-size" | "fit-content" | "max-content" | "min-content")[];
8070
+ "inset-block-end"?: ("anchor" | "anchor-size" | "auto")[];
8071
+ "inset-block-start"?: ("anchor" | "anchor-size" | "auto")[];
8072
+ "inset-block"?: ("anchor" | "anchor-size" | "auto")[];
8073
+ "inset-inline-end"?: ("anchor" | "anchor-size" | "auto")[];
8074
+ "inset-inline-start"?: ("anchor" | "anchor-size" | "auto")[];
8075
+ "inset-inline"?: ("anchor" | "anchor-size" | "auto")[];
8076
+ inset?: ("anchor" | "anchor-size" | "auto")[];
8077
+ "justify-items"?: ("anchor-center" | "left" | "legacy" | "right")[];
8078
+ "justify-self"?: ("anchor-center" | "auto" | "left" | "normal" | "right" | "stretch")[];
8079
+ left?: ("anchor" | "anchor-size" | "auto")[];
8080
+ "margin-block-end"?: ("anchor-size")[];
8081
+ "margin-block-start"?: ("anchor-size")[];
8082
+ "margin-block"?: ("anchor-size")[];
8083
+ "margin-bottom"?: ("anchor-size" | "auto")[];
8084
+ "margin-inline-end"?: ("anchor-size")[];
8085
+ "margin-inline-start"?: ("anchor-size")[];
8086
+ "margin-inline"?: ("anchor-size")[];
8087
+ "margin-left"?: ("anchor-size" | "auto")[];
8088
+ "margin-right"?: ("anchor-size" | "auto")[];
8089
+ "margin-top"?: ("anchor-size" | "auto")[];
8090
+ margin?: ("anchor-size" | "auto")[];
8091
+ "max-block-size"?: ("anchor-size" | "fit-content" | "max-content" | "min-content")[];
8092
+ "max-height"?: ("anchor-size" | "fit-content" | "max-content" | "min-content" | "none" | "stretch")[];
8093
+ "max-inline-size"?: ("anchor-size" | "fit-content" | "max-content" | "min-content")[];
8094
+ "max-width"?: ("anchor-size" | "fit-content" | "max-content" | "min-content" | "none" | "stretch")[];
8095
+ "min-block-size"?: ("anchor-size" | "fit-content" | "max-content" | "min-content")[];
8096
+ "min-height"?: ("anchor-size" | "fit-content" | "max-content" | "min-content" | "auto" | "stretch")[];
8097
+ "min-inline-size"?: ("anchor-size" | "fit-content" | "max-content" | "min-content")[];
8098
+ "min-width"?: ("anchor-size" | "fit-content" | "max-content" | "min-content" | "auto" | "stretch")[];
8099
+ "place-items"?: ("anchor-center")[];
8100
+ "place-self"?: ("anchor-center")[];
8101
+ "position-anchor"?: ("auto")[];
8102
+ "position-area"?: ("block-end" | "block-start" | "bottom" | "center" | "end" | "inline-end" | "inline-start" | "left" | "none" | "right" | "self-block-end" | "self-block-start" | "self-end" | "self-inline-end" | "self-inline-start" | "self-start" | "span-all" | "span-block-end" | "span-block-start" | "span-bottom" | "span-end" | "span-inline-end" | "span-inline-start" | "span-self-block-end" | "span-self-block-start" | "span-self-end" | "span-self-inline-end" | "span-self-inline-start" | "span-self-start" | "span-start" | "span-top" | "span-x-end" | "span-x-self-end" | "span-x-self-start" | "span-x-start" | "span-y-end" | "span-y-self-end" | "span-y-self-start" | "span-y-start" | "start" | "top" | "x-end" | "x-self-end" | "x-self-start" | "x-start" | "y-end" | "y-self-end" | "y-self-start" | "y-start")[];
8103
+ "position-try-fallbacks"?: ("flip-block" | "flip-inline" | "flip-start" | "none" | "position-area")[];
8104
+ "position-try-order"?: ("most-block-size" | "most-height" | "most-inline-size" | "most-width" | "normal")[];
8105
+ "position-visibility"?: ("always" | "anchors-visible" | "no-overflow")[];
8106
+ right?: ("anchor" | "anchor-size" | "auto")[];
8107
+ top?: ("anchor" | "anchor-size" | "auto")[];
8108
+ width?: ("anchor-size" | "fit-content" | "max-content" | "min-content" | "stretch" | "auto")[];
8109
+ "animation-direction"?: ("alternate" | "alternate-reverse" | "normal" | "reverse")[];
8110
+ "animation-duration"?: ("auto")[];
8111
+ "animation-fill-mode"?: ("backwards" | "both" | "forwards" | "none")[];
8112
+ "animation-iteration-count"?: ("infinite")[];
8113
+ "animation-name"?: ("none")[];
8114
+ "animation-play-state"?: ("paused" | "running")[];
8115
+ "animation-timing-function"?: ("jump")[];
8116
+ appearance?: ("auto" | "button" | "checkbox" | "listbox" | "menulist" | "menulist-button" | "meter" | "none" | "progress-bar" | "radio" | "searchfield" | "textarea" | "textfield" | "base-select")[];
8117
+ "aspect-ratio"?: ("auto")[];
8118
+ "background-attachment"?: ("fixed" | "local" | "scroll")[];
8119
+ "background-clip"?: ("border-box" | "content-box" | "padding-box" | "border-area" | "text")[];
8120
+ background?: ("background-clip" | "background-origin" | "background-size")[];
8121
+ "background-image"?: ("none" | "element" | "gradients" | "image-set")[];
8122
+ "background-origin"?: ("border-box" | "content-box" | "padding-box")[];
8123
+ "background-position"?: ("bottom" | "center" | "left" | "right" | "top")[];
8124
+ "background-repeat"?: ("2-value" | "no-repeat" | "repeat" | "repeat-x" | "repeat-y" | "round" | "space")[];
8125
+ "background-size"?: ("auto" | "contain" | "cover")[];
8126
+ "baseline-shift"?: ("baseline" | "sub" | "super")[];
8127
+ "baseline-source"?: ("auto" | "first" | "last")[];
8128
+ "border-image-repeat"?: ("repeat" | "round" | "space" | "stretch")[];
8129
+ "border-image-width"?: ("auto")[];
8130
+ "border-image"?: ("fill" | "gradient")[];
8131
+ "border-bottom-left-radius"?: ("percentages")[];
8132
+ "border-bottom-right-radius"?: ("percentages")[];
8133
+ "border-radius"?: ("percentages")[];
8134
+ "border-top-left-radius"?: ("percentages")[];
8135
+ "border-top-right-radius"?: ("percentages")[];
8136
+ "border-style"?: ("dashed" | "dotted" | "double" | "groove" | "hidden" | "inset" | "none" | "outset" | "ridge" | "solid")[];
8137
+ "box-decoration-break"?: ("clone" | "slice")[];
8138
+ "box-shadow"?: ("inset")[];
8139
+ "box-sizing"?: ("border-box" | "content-box")[];
8140
+ "caret-shape"?: ("auto" | "bar" | "block" | "underscore")[];
8141
+ clip?: ("auto")[];
8142
+ "clip-path"?: ("path" | "fill-box" | "stroke-box" | "view-box")[];
8143
+ "color-scheme"?: ("dark" | "light" | "normal" | "only")[];
8144
+ "break-after"?: ("avoid-column" | "column" | "always" | "auto" | "avoid" | "avoid-page" | "left" | "page" | "recto" | "right" | "verso")[];
8145
+ "break-before"?: ("avoid-column" | "column" | "always" | "auto" | "avoid" | "avoid-page" | "left" | "page" | "recto" | "right" | "verso")[];
8146
+ "break-inside"?: ("avoid-column" | "auto" | "avoid" | "avoid-page")[];
8147
+ "column-fill"?: ("auto" | "balance")[];
8148
+ "column-span"?: ("all" | "none")[];
8149
+ contain?: ("content" | "none" | "strict" | "inline-size" | "layout" | "paint" | "size" | "style")[];
8150
+ "contain-intrinsic-block-size"?: ("none")[];
8151
+ "contain-intrinsic-height"?: ("none")[];
8152
+ "contain-intrinsic-inline-size"?: ("none")[];
8153
+ "contain-intrinsic-size"?: ("none")[];
8154
+ "contain-intrinsic-width"?: ("none")[];
8155
+ "container-name"?: ("none")[];
8156
+ "container-type"?: ("inline-size" | "normal" | "size" | "scroll-state")[];
8157
+ content?: ("gradient" | "none" | "normal" | "url" | "image-set")[];
8158
+ "content-visibility"?: ("auto" | "hidden" | "visible")[];
8159
+ "counter-reset"?: ("reversed" | "list-item" | "none")[];
8160
+ "counter-set"?: ("list-item" | "none")[];
8161
+ "counter-increment"?: ("list-item" | "none")[];
8162
+ "image-rendering"?: ("crisp-edges" | "auto" | "pixelated" | "smooth")[];
8163
+ "text-overflow"?: ("string" | "clip" | "ellipsis")[];
8164
+ display?: ("block" | "inline" | "inline-block" | "none" | "contents" | "flow-root" | "list-item" | "ruby" | "ruby-base" | "ruby-base-container" | "ruby-text" | "ruby-text-container" | "inline-table" | "table" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row" | "table-row-group" | "flex" | "inline-flex" | "grid" | "inline-grid" | "math")[];
8165
+ "ruby-position"?: ("alternate" | "inter-character" | "over" | "under")[];
8166
+ "dominant-baseline"?: ("alphabetic" | "auto" | "central" | "hanging" | "ideographic" | "mathematical" | "middle")[];
8167
+ "field-sizing"?: ("content" | "fixed")[];
8168
+ filter?: ("blur" | "brightness" | "contrast" | "drop-shadow" | "grayscale" | "hue-rotate" | "invert" | "opacity" | "saturate" | "sepia")[];
8169
+ "align-content"?: ("normal")[];
8170
+ "flex-basis"?: ("auto" | "content" | "fit-content" | "max-content" | "min-content")[];
8171
+ "flex-direction"?: ("column" | "column-reverse" | "row" | "row-reverse")[];
8172
+ "flex-wrap"?: ("nowrap" | "wrap" | "wrap-reverse")[];
8173
+ flex?: ("none")[];
8174
+ "justify-content"?: ("left" | "normal" | "right")[];
8175
+ clear?: ("both" | "left" | "right" | "inline-end" | "inline-start")[];
8176
+ float?: ("left" | "none" | "right" | "inline-end" | "inline-start")[];
8177
+ "font-family"?: ("math" | "system-ui" | "ui-monospace" | "ui-rounded" | "ui-sans-serif" | "ui-serif")[];
8178
+ "font-feature-settings"?: ("normal")[];
8179
+ "font-kerning"?: ("auto" | "none" | "normal")[];
8180
+ "font-optical-sizing"?: ("auto" | "none")[];
8181
+ "font-palette"?: ("dark" | "light" | "normal")[];
8182
+ font?: ("caption" | "icon" | "menu" | "message-box" | "small-caption" | "status-bar")[];
8183
+ "font-size"?: ("xxx-large" | "math")[];
8184
+ "font-size-adjust"?: ("from-font" | "none" | "two-values")[];
8185
+ "font-stretch"?: ("percentage")[];
8186
+ "font-style"?: ("italic" | "normal" | "oblique-angle")[];
8187
+ "font-synthesis"?: ("position" | "small-caps" | "style" | "weight")[];
8188
+ "font-synthesis-position"?: ("auto" | "none")[];
8189
+ "font-synthesis-small-caps"?: ("auto" | "none")[];
8190
+ "font-synthesis-style"?: ("auto" | "none")[];
8191
+ "font-synthesis-weight"?: ("auto" | "none")[];
8192
+ "font-variant"?: ("historical-forms" | "none" | "normal" | "sub" | "super")[];
8193
+ "font-variant-alternates"?: ("annotation" | "historical-forms" | "normal" | "ornaments" | "styleset" | "stylistic" | "swash")[];
8194
+ "font-variant-caps"?: ("all-petite-caps" | "all-small-caps" | "normal" | "petite-caps" | "small-caps" | "titling-caps" | "unicase")[];
8195
+ "font-variant-east-asian"?: ("full-width" | "jis04" | "jis78" | "jis83" | "jis90" | "normal" | "proportional-width" | "ruby" | "simplified" | "traditional")[];
8196
+ "font-variant-emoji"?: ("emoji" | "normal" | "text" | "unicode")[];
8197
+ "font-variant-ligatures"?: ("common-ligatures" | "contextual" | "discretionary-ligatures" | "historical-ligatures" | "no-common-ligatures" | "no-contextual" | "no-discretionary-ligatures" | "no-historical-ligatures" | "none" | "normal")[];
8198
+ "font-variant-numeric"?: ("diagonal-fractions" | "lining-nums" | "normal" | "oldstyle-nums" | "ordinal" | "proportional-nums" | "slashed-zero" | "stacked-fractions" | "tabular-nums")[];
8199
+ "font-variant-position"?: ("normal" | "sub" | "super")[];
8200
+ "font-weight"?: ("bold" | "bolder" | "lighter" | "normal" | "number")[];
8201
+ "font-width"?: ("condensed" | "expanded" | "extra-condensed" | "extra-expanded" | "normal" | "semi-condensed" | "semi-expanded" | "ultra-condensed" | "ultra-expanded")[];
8202
+ "forced-color-adjust"?: ("auto" | "none" | "preserve-parent-color")[];
8203
+ gap?: ("normal")[];
8204
+ "grid-auto-flow"?: ("column" | "dense" | "row")[];
8205
+ "grid-template-areas"?: ("none")[];
8206
+ "grid-template-columns"?: ("auto" | "fit-content" | "max-content" | "min-content" | "minmax" | "none" | "repeat" | "animation" | "masonry" | "subgrid")[];
8207
+ "grid-template-rows"?: ("auto" | "fit-content" | "max-content" | "min-content" | "minmax" | "none" | "repeat" | "animation" | "masonry" | "subgrid")[];
8208
+ "grid-template"?: ("none")[];
8209
+ "row-gap"?: ("normal")[];
8210
+ "hanging-punctuation"?: ("allow-end" | "first" | "last" | "none")[];
8211
+ "hyphenate-character"?: ("auto")[];
8212
+ "hyphenate-limit-chars"?: ("auto")[];
8213
+ hyphens?: ("auto")[];
8214
+ "image-orientation"?: ("from-image" | "none")[];
8215
+ rotate?: ("none")[];
8216
+ scale?: ("none")[];
8217
+ translate?: ("none")[];
8218
+ "initial-letter"?: ("normal")[];
8219
+ interactivity?: ("auto" | "inert")[];
8220
+ "interpolate-size"?: ("allow-keywords" | "numeric-only")[];
8221
+ direction?: ("ltr" | "rtl")[];
8222
+ "unicode-bidi"?: ("bidi-override" | "embed" | "isolate" | "isolate-override" | "normal" | "plaintext")[];
8223
+ "letter-spacing"?: ("normal")[];
8224
+ "line-break"?: ("anywhere" | "auto" | "loose" | "normal" | "strict")[];
8225
+ "line-clamp"?: ("none")[];
8226
+ "line-height"?: ("normal")[];
8227
+ "list-style-image"?: ("none")[];
8228
+ "list-style-position"?: ("inside" | "outside")[];
8229
+ "list-style-type"?: ("arabic-indic" | "armenian" | "bengali" | "cambodian" | "circle" | "cjk-decimal" | "cjk-earthly-branch" | "cjk-heavenly-stem" | "cjk-ideographic" | "decimal" | "decimal-leading-zero" | "devanagari" | "disc" | "disclosure-closed" | "disclosure-open" | "ethiopic-numeric" | "georgian" | "gujarati" | "gurmukhi" | "hebrew" | "hiragana" | "hiragana-iroha" | "japanese-formal" | "japanese-informal" | "kannada" | "katakana" | "katakana-iroha" | "khmer" | "korean-hangul-formal" | "korean-hanja-formal" | "korean-hanja-informal" | "lao" | "lower-alpha" | "lower-armenian" | "lower-greek" | "lower-latin" | "lower-roman" | "malayalam" | "mongolian" | "myanmar" | "none" | "oriya" | "persian" | "simp-chinese-formal" | "simp-chinese-informal" | "square" | "string" | "symbols" | "tamil" | "telugu" | "thai" | "tibetan" | "trad-chinese-formal" | "trad-chinese-informal" | "upper-alpha" | "upper-armenian" | "upper-latin" | "upper-roman")[];
8230
+ "list-style"?: ("symbols")[];
8231
+ "overflow-block"?: ("overlay")[];
8232
+ "overflow-inline"?: ("overlay")[];
8233
+ "margin-trim"?: ("block" | "block-end" | "block-start" | "inline" | "inline-end" | "inline-start" | "none")[];
8234
+ "mask-type"?: ("alpha" | "luminance")[];
8235
+ "mask-clip"?: ("border" | "content" | "padding" | "text")[];
8236
+ "mask-composite"?: ("add" | "exclude" | "intersect" | "subtract")[];
8237
+ "mask-mode"?: ("alpha" | "luminance" | "match-source")[];
8238
+ "mask-origin"?: ("border" | "content" | "fill-box" | "padding" | "stroke-box" | "view-box")[];
8239
+ "text-transform"?: ("math-auto" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "none" | "uppercase")[];
8240
+ "mix-blend-mode"?: ("plus-darker" | "plus-lighter")[];
8241
+ "offset-anchor"?: ("auto" | "bottom" | "center" | "left" | "right" | "top")[];
8242
+ "offset-path"?: ("border-box" | "content-box" | "fill-box" | "margin-box" | "none" | "padding-box" | "path" | "ray" | "stroke-box" | "url" | "view-box")[];
8243
+ "offset-position"?: ("auto" | "bottom" | "center" | "left" | "normal" | "right" | "top")[];
8244
+ "offset-rotate"?: ("auto" | "reverse")[];
8245
+ "column-count"?: ("auto")[];
8246
+ "column-gap"?: ("normal")[];
8247
+ "column-width"?: ("auto")[];
8248
+ "object-fit"?: ("contain" | "cover" | "fill" | "none" | "scale-down")[];
8249
+ "object-view-box"?: ("none")[];
8250
+ opacity?: ("percentages")[];
8251
+ "outline-style"?: ("auto" | "dashed" | "dotted" | "double" | "groove" | "inset" | "none" | "outset" | "ridge" | "solid")[];
8252
+ "overflow-anchor"?: ("auto" | "none")[];
8253
+ "overflow-x"?: ("clip" | "auto" | "hidden" | "scroll" | "visible")[];
8254
+ "overflow-y"?: ("clip" | "auto" | "hidden" | "scroll" | "visible")[];
8255
+ overflow?: ("clip" | "auto" | "hidden" | "scroll" | "visible")[];
8256
+ "overflow-clip-margin"?: ("border-box" | "content-box" | "padding-box")[];
8257
+ "overflow-wrap"?: ("anywhere" | "break-word" | "normal")[];
8258
+ overlay?: ("auto" | "none")[];
8259
+ "overscroll-behavior-block"?: ("auto" | "contain" | "none")[];
8260
+ "overscroll-behavior-inline"?: ("auto" | "contain" | "none")[];
8261
+ "overscroll-behavior-x"?: ("auto" | "contain" | "none")[];
8262
+ "overscroll-behavior-y"?: ("auto" | "contain" | "none")[];
8263
+ "overscroll-behavior"?: ("auto" | "contain" | "none")[];
8264
+ "page-break-after"?: ("always" | "auto" | "avoid" | "left" | "right")[];
8265
+ "page-break-before"?: ("always" | "auto" | "avoid" | "left" | "right")[];
8266
+ "page-break-inside"?: ("auto" | "avoid")[];
8267
+ "print-color-adjust"?: ("economy" | "exact")[];
8268
+ quotes?: ("auto" | "none")[];
8269
+ "reading-flow"?: ("flex-flow" | "flex-visual" | "grid-columns" | "grid-order" | "grid-rows" | "normal" | "source-order")[];
8270
+ resize?: ("block" | "inline")[];
8271
+ "ruby-align"?: ("center" | "space-around" | "space-between" | "start")[];
8272
+ "ruby-overhang"?: ("auto" | "none")[];
8273
+ "scroll-behavior"?: ("auto" | "smooth")[];
8274
+ "animation-range-end"?: ("normal")[];
8275
+ "animation-range-start"?: ("normal")[];
8276
+ "animation-timeline"?: ("scroll" | "view")[];
8277
+ "scroll-timeline-axis"?: ("block" | "inline" | "x" | "y")[];
8278
+ "timeline-scope"?: ("all" | "none")[];
8279
+ "view-timeline-axis"?: ("block" | "inline" | "x" | "y")[];
8280
+ "view-timeline-inset"?: ("auto")[];
8281
+ "scroll-initial-target"?: ("nearest" | "none")[];
8282
+ "scroll-marker-group"?: ("after" | "before" | "none")[];
8283
+ "scroll-padding-block-end"?: ("auto")[];
8284
+ "scroll-padding-block-start"?: ("auto")[];
8285
+ "scroll-padding-block"?: ("auto")[];
8286
+ "scroll-padding-inline-end"?: ("auto")[];
8287
+ "scroll-padding-inline-start"?: ("auto")[];
8288
+ "scroll-padding-inline"?: ("auto")[];
8289
+ "scroll-padding"?: ("auto")[];
8290
+ "scroll-snap-align"?: ("center" | "end" | "none" | "start")[];
8291
+ "scroll-snap-stop"?: ("always" | "normal")[];
8292
+ "scroll-snap-type"?: ("block" | "both" | "inline" | "none" | "x" | "y")[];
8293
+ "scrollbar-color"?: ("auto")[];
8294
+ "scrollbar-gutter"?: ("auto" | "stable")[];
8295
+ "scrollbar-width"?: ("auto" | "none" | "thin")[];
8296
+ "shape-image-threshold"?: ("percentages")[];
8297
+ "shape-outside"?: ("circle" | "gradient" | "image" | "inset" | "none" | "path" | "polygon")[];
8298
+ "speak-as"?: ("digits" | "literal-punctuation" | "no-punctuation" | "normal" | "spell-out")[];
8299
+ "clip-rule"?: ("evenodd" | "nonzero")[];
8300
+ "color-interpolation"?: ("linearGradient" | "sRGB")[];
8301
+ "fill-rule"?: ("evenodd" | "nonzero")[];
8302
+ "stroke-dasharray"?: ("none")[];
8303
+ "stroke-linecap"?: ("butt" | "round" | "square")[];
8304
+ "stroke-linejoin"?: ("bevel" | "miter" | "round")[];
8305
+ "text-rendering"?: ("auto" | "geometricPrecision")[];
8306
+ "color-interpolation-filters"?: ("auto" | "linearRGB" | "sRGB")[];
8307
+ "tab-size"?: ("length")[];
8308
+ "border-collapse"?: ("collapse" | "separate")[];
8309
+ "caption-side"?: ("bottom" | "bottom-outside" | "top" | "top-outside")[];
8310
+ "empty-cells"?: ("hide" | "show")[];
8311
+ "table-layout"?: ("auto" | "fixed")[];
8312
+ "text-align"?: ("center" | "end" | "justify" | "left" | "match-parent" | "right" | "start")[];
8313
+ "text-align-last"?: ("auto")[];
8314
+ "text-autospace"?: ("auto" | "ideograph-alpha" | "ideograph-numeric" | "insert" | "no-autospace" | "normal" | "punctuation" | "replace")[];
8315
+ "text-box-edge"?: ("auto")[];
8316
+ "text-box-trim"?: ("none" | "trim-both" | "trim-end" | "trim-start")[];
8317
+ "text-box"?: ("normal")[];
8318
+ "text-combine-upright"?: ("all" | "none")[];
8319
+ "text-decoration-line"?: ("grammar-error" | "line-through" | "none" | "overline" | "spelling-error" | "underline" | "blink")[];
8320
+ "text-decoration-skip-ink"?: ("all" | "auto" | "none")[];
8321
+ "text-decoration-skip"?: ("auto" | "none")[];
8322
+ "text-decoration-style"?: ("wavy")[];
8323
+ "text-decoration-thickness"?: ("auto" | "from-font" | "percentage")[];
8324
+ "text-emphasis-position"?: ("auto" | "left" | "over" | "right" | "under")[];
8325
+ "text-emphasis-style"?: ("circle" | "dot" | "double-circle" | "filled" | "none" | "sesame" | "triangle")[];
8326
+ "text-indent"?: ("each-line" | "hanging")[];
8327
+ "text-justify"?: ("auto" | "inter-character" | "inter-word" | "none")[];
8328
+ "text-orientation"?: ("mixed" | "sideways" | "upright")[];
8329
+ "text-size-adjust"?: ("auto" | "none" | "percentages")[];
8330
+ "text-spacing-trim"?: ("normal" | "space-all" | "space-first" | "trim-start")[];
8331
+ "text-underline-offset"?: ("auto" | "percentage")[];
8332
+ "text-underline-position"?: ("auto" | "from-font" | "left" | "right" | "under")[];
8333
+ "text-wrap"?: ("wrap" | "balance" | "nowrap" | "pretty" | "stable")[];
8334
+ "text-wrap-mode"?: ("nowrap" | "wrap")[];
8335
+ "text-wrap-style"?: ("auto" | "balance" | "pretty" | "stable")[];
8336
+ "touch-action"?: ("manipulation" | "none" | "pan-down" | "pan-left" | "pan-right" | "pan-up" | "pan-x" | "pan-y" | "pinch-zoom")[];
8337
+ "transform-box"?: ("border-box" | "content-box" | "fill-box" | "stroke-box" | "view-box")[];
8338
+ "transform-origin"?: ("bottom" | "center" | "left" | "right" | "top")[];
8339
+ "perspective-origin"?: ("bottom" | "center" | "left" | "right" | "top")[];
8340
+ perspective?: ("none")[];
8341
+ transform?: ("3d")[];
8342
+ transition?: ("transition-behavior")[];
8343
+ "transition-property"?: ("all" | "none")[];
8344
+ "transition-timing-function"?: ("jump")[];
8345
+ "user-select"?: ("all" | "auto" | "none" | "text")[];
8346
+ "vertical-align"?: ("baseline" | "bottom" | "middle" | "sub" | "super" | "text-bottom" | "text-top" | "top")[];
8347
+ "view-transition-class"?: ("none")[];
8348
+ "view-transition-name"?: ("match-element" | "none")[];
8349
+ visibility?: ("collapse" | "hidden" | "visible")[];
8350
+ "white-space"?: ("break-spaces" | "normal" | "nowrap" | "pre" | "pre-line" | "pre-wrap")[];
8351
+ "white-space-collapse"?: ("break-spaces" | "collapse" | "preserve" | "preserve-breaks" | "preserve-spaces")[];
8352
+ "will-change"?: ("auto" | "contents" | "scroll-position")[];
8353
+ "word-break"?: ("break-all" | "keep-all" | "normal" | "auto-phrase" | "break-word")[];
8354
+ "word-spacing"?: ("normal")[];
8355
+ "writing-mode"?: ("horizontal-tb" | "sideways-lr" | "sideways-rl" | "vertical-lr" | "vertical-rl" | "lr" | "lr-tb" | "rl" | "rl-tb" | "tb" | "tb-rl")[];
8356
+ "z-index"?: ("auto")[];
8357
+ };
8358
+ allowSelectors?: ("active-view-transition" | "active-view-transition-type" | "autofill" | "defined" | "backdrop" | "after" | "before" | "column" | "checkmark" | "picker" | "picker-icon" | "default" | "details-content" | "dir" | "empty" | "file-selector-button" | "first-letter" | "first-line" | "focus-visible" | "focus-within" | "in-range" | "invalid" | "optional" | "out-of-range" | "required" | "valid" | "fullscreen" | "has" | "has-slotted" | "heading" | "headingfunction" | "highlight" | "host" | "hostfunction" | "host-context" | "indeterminate" | "checked" | "disabled" | "enabled" | "is" | "lang" | "any-link" | "link" | "visited" | "marker" | "buffering" | "muted" | "paused" | "playing" | "seeking" | "stalled" | "volume-locked" | "modal" | "namespace" | "nesting" | "not" | "first-child" | "last-child" | "nth-child" | "nth-last-child" | "only-child" | "first-of-type" | "last-of-type" | "nth-last-of-type" | "nth-of-type" | "only-of-type" | "open" | "first" | "left" | "right" | "picture-in-picture" | "placeholder" | "placeholder-shown" | "popover-open" | "read-only" | "read-write" | "root" | "scope" | "scroll-button" | "scroll-marker" | "scroll-marker-group" | "selection" | "attribute" | "child" | "class" | "descendant" | "id" | "list" | "next-sibling" | "subsequent-sibling" | "type" | "universal" | "part" | "slotted" | "grammar-error" | "spelling-error" | "state" | "target" | "target-text" | "future" | "past" | "active" | "focus" | "hover" | "user-invalid" | "user-valid" | "view-transition" | "view-transition-group" | "view-transition-image-pair" | "view-transition-new" | "view-transition-old" | "cue" | "xr-overlay" | "where")[];
8053
8359
  }];
8054
8360
  // ----- css/use-layers -----
8055
8361
  type CssUseLayers = [] | [{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2digits/eslint-config",
3
- "version": "4.12.4",
3
+ "version": "4.12.5",
4
4
  "description": "Effortlessly enforce best practices and catch errors with this comprehensive ESLint configuration for TypeScript, featuring popular plugins like @typescript-eslint, eslint-plugin-react, and eslint-plugin-unicorn.",
5
5
  "homepage": "https://2d-configs.vercel.app/",
6
6
  "repository": {
@@ -28,8 +28,8 @@
28
28
  "dependencies": {
29
29
  "@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
30
30
  "@eslint-react/eslint-plugin": "2.2.4",
31
- "@eslint/compat": "1.4.0",
32
- "@eslint/css": "0.13.0",
31
+ "@eslint/compat": "1.4.1",
32
+ "@eslint/css": "0.14.0",
33
33
  "@eslint/js": "9.38.0",
34
34
  "@eslint/markdown": "7.5.0",
35
35
  "@graphql-eslint/eslint-plugin": "4.4.0",
@@ -49,7 +49,7 @@
49
49
  "eslint-plugin-depend": "1.3.1",
50
50
  "eslint-plugin-drizzle": "0.2.3",
51
51
  "eslint-plugin-github-action": "0.0.16",
52
- "eslint-plugin-jsdoc": "61.1.10",
52
+ "eslint-plugin-jsdoc": "61.1.11",
53
53
  "eslint-plugin-jsonc": "2.21.0",
54
54
  "eslint-plugin-n": "17.23.1",
55
55
  "eslint-plugin-pnpm": "1.3.0",
@@ -57,7 +57,7 @@
57
57
  "eslint-plugin-react-hooks": "7.0.1",
58
58
  "eslint-plugin-regexp": "2.10.0",
59
59
  "eslint-plugin-sonarjs": "3.0.5",
60
- "eslint-plugin-storybook": "10.0.0",
60
+ "eslint-plugin-storybook": "10.0.1",
61
61
  "eslint-plugin-tailwindcss": "3.18.2",
62
62
  "eslint-plugin-turbo": "2.5.8",
63
63
  "eslint-plugin-unicorn": "62.0.0",
@@ -85,7 +85,7 @@
85
85
  "tinyglobby": "0.2.15",
86
86
  "tsdown": "0.15.11",
87
87
  "typescript": "5.9.3",
88
- "vitest": "4.0.4",
88
+ "vitest": "4.0.5",
89
89
  "@2digits/tsconfig": "0.8.4"
90
90
  },
91
91
  "scripts": {