@kazupon/eslint-config 0.39.0 → 0.39.1

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 +7 -7
package/dist/index.d.mts CHANGED
@@ -186,6 +186,11 @@ interface CssRules {
186
186
  */
187
187
  "css/no-invalid-properties"?: Linter.RuleEntry<CssNoInvalidProperties>;
188
188
  /**
189
+ * Disallow unmatchable selectors
190
+ * @see https://github.com/eslint/css/blob/main/docs/rules/no-unmatchable-selectors.md
191
+ */
192
+ "css/no-unmatchable-selectors"?: Linter.RuleEntry<[]>;
193
+ /**
189
194
  * Enforce the use of logical properties
190
195
  * @see https://github.com/eslint/css/blob/main/docs/rules/prefer-logical-properties.md
191
196
  */
@@ -215,8 +220,8 @@ type CssNoInvalidProperties = [] | [{
215
220
  allowUnknownVariables?: boolean;
216
221
  }];
217
222
  type CssPreferLogicalProperties = [] | [{
218
- allowProperties?: string[];
219
- allowUnits?: string[];
223
+ 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")[];
224
+ allowUnits?: ("cqh" | "cqw" | "dvh" | "dvw" | "lvh" | "lvw" | "svh" | "svw" | "vh" | "vw")[];
220
225
  }];
221
226
  type CssRelativeFontUnits = [] | [{
222
227
  allowUnits?: ("%" | "cap" | "ch" | "em" | "ex" | "ic" | "lh" | "rcap" | "rch" | "rem" | "rex" | "ric" | "rlh")[];
@@ -235,13 +240,314 @@ type CssSelectorComplexity = [] | [{
235
240
  disallowPseudoElements?: string[];
236
241
  disallowAttributes?: string[];
237
242
  disallowAttributeMatchers?: string[];
238
- [k: string]: unknown | undefined;
239
243
  }];
240
244
  type CssUseBaseline = [] | [{
241
245
  available?: (("widely" | "newly") | number);
242
- allowAtRules?: string[];
243
- allowProperties?: string[];
244
- allowSelectors?: string[];
246
+ 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")[];
247
+ 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")[];
248
+ 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")[];
249
+ 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")[];
250
+ allowPropertyValues?: {
251
+ position?: ("absolute" | "fixed" | "relative" | "static" | "sticky")[];
252
+ "accent-color"?: ("auto")[];
253
+ "alignment-baseline"?: ("alphabetic" | "baseline" | "central" | "ideographic" | "mathematical" | "middle" | "text-after-edge" | "text-before-edge")[];
254
+ "align-items"?: ("anchor-center")[];
255
+ "align-self"?: ("anchor-center" | "auto" | "normal" | "stretch")[];
256
+ "anchor-name"?: ("none")[];
257
+ "anchor-scope"?: ("all" | "none")[];
258
+ "block-size"?: ("anchor-size" | "fit-content" | "max-content" | "min-content")[];
259
+ bottom?: ("anchor" | "anchor-size" | "auto")[];
260
+ height?: ("anchor-size" | "fit-content" | "max-content" | "min-content" | "stretch" | "auto")[];
261
+ "inline-size"?: ("anchor-size" | "fit-content" | "max-content" | "min-content")[];
262
+ "inset-block-end"?: ("anchor" | "anchor-size" | "auto")[];
263
+ "inset-block-start"?: ("anchor" | "anchor-size" | "auto")[];
264
+ "inset-block"?: ("anchor" | "anchor-size" | "auto")[];
265
+ "inset-inline-end"?: ("anchor" | "anchor-size" | "auto")[];
266
+ "inset-inline-start"?: ("anchor" | "anchor-size" | "auto")[];
267
+ "inset-inline"?: ("anchor" | "anchor-size" | "auto")[];
268
+ inset?: ("anchor" | "anchor-size" | "auto")[];
269
+ "justify-items"?: ("anchor-center" | "left" | "legacy" | "right")[];
270
+ "justify-self"?: ("anchor-center" | "auto" | "left" | "normal" | "right" | "stretch")[];
271
+ left?: ("anchor" | "anchor-size" | "auto")[];
272
+ "margin-block-end"?: ("anchor-size")[];
273
+ "margin-block-start"?: ("anchor-size")[];
274
+ "margin-block"?: ("anchor-size")[];
275
+ "margin-bottom"?: ("anchor-size" | "auto")[];
276
+ "margin-inline-end"?: ("anchor-size")[];
277
+ "margin-inline-start"?: ("anchor-size")[];
278
+ "margin-inline"?: ("anchor-size")[];
279
+ "margin-left"?: ("anchor-size" | "auto")[];
280
+ "margin-right"?: ("anchor-size" | "auto")[];
281
+ "margin-top"?: ("anchor-size" | "auto")[];
282
+ margin?: ("anchor-size" | "auto")[];
283
+ "max-block-size"?: ("anchor-size" | "fit-content" | "max-content" | "min-content")[];
284
+ "max-height"?: ("anchor-size" | "fit-content" | "max-content" | "min-content" | "none" | "stretch")[];
285
+ "max-inline-size"?: ("anchor-size" | "fit-content" | "max-content" | "min-content")[];
286
+ "max-width"?: ("anchor-size" | "fit-content" | "max-content" | "min-content" | "none" | "stretch")[];
287
+ "min-block-size"?: ("anchor-size" | "fit-content" | "max-content" | "min-content")[];
288
+ "min-height"?: ("anchor-size" | "fit-content" | "max-content" | "min-content" | "auto" | "stretch")[];
289
+ "min-inline-size"?: ("anchor-size" | "fit-content" | "max-content" | "min-content")[];
290
+ "min-width"?: ("anchor-size" | "fit-content" | "max-content" | "min-content" | "auto" | "stretch")[];
291
+ "place-items"?: ("anchor-center")[];
292
+ "place-self"?: ("anchor-center")[];
293
+ "position-anchor"?: ("auto")[];
294
+ "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")[];
295
+ "position-try-fallbacks"?: ("flip-block" | "flip-inline" | "flip-start" | "none" | "position-area")[];
296
+ "position-try-order"?: ("most-block-size" | "most-height" | "most-inline-size" | "most-width" | "normal")[];
297
+ "position-visibility"?: ("always" | "anchors-visible" | "no-overflow")[];
298
+ right?: ("anchor" | "anchor-size" | "auto")[];
299
+ top?: ("anchor" | "anchor-size" | "auto")[];
300
+ width?: ("anchor-size" | "fit-content" | "max-content" | "min-content" | "stretch" | "auto")[];
301
+ "animation-direction"?: ("alternate" | "alternate-reverse" | "normal" | "reverse")[];
302
+ "animation-duration"?: ("auto")[];
303
+ "animation-fill-mode"?: ("backwards" | "both" | "forwards" | "none")[];
304
+ "animation-iteration-count"?: ("infinite")[];
305
+ "animation-name"?: ("none")[];
306
+ "animation-play-state"?: ("paused" | "running")[];
307
+ "animation-timing-function"?: ("jump")[];
308
+ appearance?: ("auto" | "button" | "checkbox" | "listbox" | "menulist" | "menulist-button" | "meter" | "none" | "progress-bar" | "radio" | "searchfield" | "textarea" | "textfield" | "base-select")[];
309
+ "aspect-ratio"?: ("auto")[];
310
+ "background-attachment"?: ("fixed" | "local" | "scroll")[];
311
+ "background-clip"?: ("border-box" | "content-box" | "padding-box" | "border-area" | "text")[];
312
+ background?: ("background-clip" | "background-origin" | "background-size")[];
313
+ "background-image"?: ("none" | "element" | "gradients" | "image-set")[];
314
+ "background-origin"?: ("border-box" | "content-box" | "padding-box")[];
315
+ "background-position"?: ("bottom" | "center" | "left" | "right" | "top")[];
316
+ "background-repeat"?: ("2-value" | "no-repeat" | "repeat" | "repeat-x" | "repeat-y" | "round" | "space")[];
317
+ "background-size"?: ("auto" | "contain" | "cover")[];
318
+ "baseline-shift"?: ("baseline" | "sub" | "super")[];
319
+ "baseline-source"?: ("auto" | "first" | "last")[];
320
+ "border-image-repeat"?: ("repeat" | "round" | "space" | "stretch")[];
321
+ "border-image-width"?: ("auto")[];
322
+ "border-image"?: ("fill" | "gradient")[];
323
+ "border-bottom-left-radius"?: ("percentages")[];
324
+ "border-bottom-right-radius"?: ("percentages")[];
325
+ "border-radius"?: ("percentages")[];
326
+ "border-top-left-radius"?: ("percentages")[];
327
+ "border-top-right-radius"?: ("percentages")[];
328
+ "border-style"?: ("dashed" | "dotted" | "double" | "groove" | "hidden" | "inset" | "none" | "outset" | "ridge" | "solid")[];
329
+ "box-decoration-break"?: ("clone" | "slice")[];
330
+ "box-shadow"?: ("inset")[];
331
+ "box-sizing"?: ("border-box" | "content-box")[];
332
+ "caret-shape"?: ("auto" | "bar" | "block" | "underscore")[];
333
+ clip?: ("auto")[];
334
+ "clip-path"?: ("path" | "fill-box" | "stroke-box" | "view-box")[];
335
+ "color-scheme"?: ("dark" | "light" | "normal" | "only")[];
336
+ "break-after"?: ("avoid-column" | "column" | "always" | "auto" | "avoid" | "avoid-page" | "left" | "page" | "recto" | "right" | "verso")[];
337
+ "break-before"?: ("avoid-column" | "column" | "always" | "auto" | "avoid" | "avoid-page" | "left" | "page" | "recto" | "right" | "verso")[];
338
+ "break-inside"?: ("avoid-column" | "auto" | "avoid" | "avoid-page")[];
339
+ "column-fill"?: ("auto" | "balance")[];
340
+ "column-span"?: ("all" | "none")[];
341
+ contain?: ("content" | "none" | "strict" | "inline-size" | "layout" | "paint" | "size" | "style")[];
342
+ "contain-intrinsic-block-size"?: ("none")[];
343
+ "contain-intrinsic-height"?: ("none")[];
344
+ "contain-intrinsic-inline-size"?: ("none")[];
345
+ "contain-intrinsic-size"?: ("none")[];
346
+ "contain-intrinsic-width"?: ("none")[];
347
+ "container-name"?: ("none")[];
348
+ "container-type"?: ("inline-size" | "normal" | "size" | "scroll-state")[];
349
+ content?: ("gradient" | "none" | "normal" | "url" | "image-set")[];
350
+ "content-visibility"?: ("auto" | "hidden" | "visible")[];
351
+ "counter-reset"?: ("reversed" | "list-item" | "none")[];
352
+ "counter-set"?: ("list-item" | "none")[];
353
+ "counter-increment"?: ("list-item" | "none")[];
354
+ "image-rendering"?: ("crisp-edges" | "auto" | "pixelated" | "smooth")[];
355
+ "text-overflow"?: ("string" | "clip" | "ellipsis")[];
356
+ 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")[];
357
+ "ruby-position"?: ("alternate" | "inter-character" | "over" | "under")[];
358
+ "dominant-baseline"?: ("alphabetic" | "auto" | "central" | "hanging" | "ideographic" | "mathematical" | "middle")[];
359
+ "field-sizing"?: ("content" | "fixed")[];
360
+ filter?: ("blur" | "brightness" | "contrast" | "drop-shadow" | "grayscale" | "hue-rotate" | "invert" | "opacity" | "saturate" | "sepia")[];
361
+ "align-content"?: ("normal")[];
362
+ "flex-basis"?: ("auto" | "content" | "fit-content" | "max-content" | "min-content")[];
363
+ "flex-direction"?: ("column" | "column-reverse" | "row" | "row-reverse")[];
364
+ "flex-wrap"?: ("nowrap" | "wrap" | "wrap-reverse")[];
365
+ flex?: ("none")[];
366
+ "justify-content"?: ("left" | "normal" | "right")[];
367
+ clear?: ("both" | "left" | "right" | "inline-end" | "inline-start")[];
368
+ float?: ("left" | "none" | "right" | "inline-end" | "inline-start")[];
369
+ "font-family"?: ("math" | "system-ui" | "ui-monospace" | "ui-rounded" | "ui-sans-serif" | "ui-serif")[];
370
+ "font-feature-settings"?: ("normal")[];
371
+ "font-kerning"?: ("auto" | "none" | "normal")[];
372
+ "font-optical-sizing"?: ("auto" | "none")[];
373
+ "font-palette"?: ("dark" | "light" | "normal")[];
374
+ font?: ("caption" | "icon" | "menu" | "message-box" | "small-caption" | "status-bar")[];
375
+ "font-size"?: ("xxx-large" | "math")[];
376
+ "font-size-adjust"?: ("from-font" | "none" | "two-values")[];
377
+ "font-stretch"?: ("percentage")[];
378
+ "font-style"?: ("italic" | "normal" | "oblique-angle")[];
379
+ "font-synthesis"?: ("position" | "small-caps" | "style" | "weight")[];
380
+ "font-synthesis-position"?: ("auto" | "none")[];
381
+ "font-synthesis-small-caps"?: ("auto" | "none")[];
382
+ "font-synthesis-style"?: ("auto" | "none")[];
383
+ "font-synthesis-weight"?: ("auto" | "none")[];
384
+ "font-variant"?: ("historical-forms" | "none" | "normal" | "sub" | "super")[];
385
+ "font-variant-alternates"?: ("annotation" | "historical-forms" | "normal" | "ornaments" | "styleset" | "stylistic" | "swash")[];
386
+ "font-variant-caps"?: ("all-petite-caps" | "all-small-caps" | "normal" | "petite-caps" | "small-caps" | "titling-caps" | "unicase")[];
387
+ "font-variant-east-asian"?: ("full-width" | "jis04" | "jis78" | "jis83" | "jis90" | "normal" | "proportional-width" | "ruby" | "simplified" | "traditional")[];
388
+ "font-variant-emoji"?: ("emoji" | "normal" | "text" | "unicode")[];
389
+ "font-variant-ligatures"?: ("common-ligatures" | "contextual" | "discretionary-ligatures" | "historical-ligatures" | "no-common-ligatures" | "no-contextual" | "no-discretionary-ligatures" | "no-historical-ligatures" | "none" | "normal")[];
390
+ "font-variant-numeric"?: ("diagonal-fractions" | "lining-nums" | "normal" | "oldstyle-nums" | "ordinal" | "proportional-nums" | "slashed-zero" | "stacked-fractions" | "tabular-nums")[];
391
+ "font-variant-position"?: ("normal" | "sub" | "super")[];
392
+ "font-weight"?: ("bold" | "bolder" | "lighter" | "normal" | "number")[];
393
+ "font-width"?: ("condensed" | "expanded" | "extra-condensed" | "extra-expanded" | "normal" | "semi-condensed" | "semi-expanded" | "ultra-condensed" | "ultra-expanded")[];
394
+ "forced-color-adjust"?: ("auto" | "none" | "preserve-parent-color")[];
395
+ gap?: ("normal")[];
396
+ "grid-auto-flow"?: ("column" | "dense" | "row")[];
397
+ "grid-template-areas"?: ("none")[];
398
+ "grid-template-columns"?: ("auto" | "fit-content" | "max-content" | "min-content" | "minmax" | "none" | "repeat" | "animation" | "masonry" | "subgrid")[];
399
+ "grid-template-rows"?: ("auto" | "fit-content" | "max-content" | "min-content" | "minmax" | "none" | "repeat" | "animation" | "masonry" | "subgrid")[];
400
+ "grid-template"?: ("none")[];
401
+ "row-gap"?: ("normal")[];
402
+ "hanging-punctuation"?: ("allow-end" | "first" | "last" | "none")[];
403
+ "hyphenate-character"?: ("auto")[];
404
+ "hyphenate-limit-chars"?: ("auto")[];
405
+ hyphens?: ("auto")[];
406
+ "image-orientation"?: ("from-image" | "none")[];
407
+ rotate?: ("none")[];
408
+ scale?: ("none")[];
409
+ translate?: ("none")[];
410
+ "initial-letter"?: ("normal")[];
411
+ interactivity?: ("auto" | "inert")[];
412
+ "interpolate-size"?: ("allow-keywords" | "numeric-only")[];
413
+ direction?: ("ltr" | "rtl")[];
414
+ "unicode-bidi"?: ("bidi-override" | "embed" | "isolate" | "isolate-override" | "normal" | "plaintext")[];
415
+ "letter-spacing"?: ("normal")[];
416
+ "line-break"?: ("anywhere" | "auto" | "loose" | "normal" | "strict")[];
417
+ "line-clamp"?: ("none")[];
418
+ "line-height"?: ("normal")[];
419
+ "list-style-image"?: ("none")[];
420
+ "list-style-position"?: ("inside" | "outside")[];
421
+ "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")[];
422
+ "list-style"?: ("symbols")[];
423
+ "overflow-block"?: ("overlay")[];
424
+ "overflow-inline"?: ("overlay")[];
425
+ "margin-trim"?: ("block" | "block-end" | "block-start" | "inline" | "inline-end" | "inline-start" | "none")[];
426
+ "mask-type"?: ("alpha" | "luminance")[];
427
+ "mask-clip"?: ("border" | "content" | "padding" | "text")[];
428
+ "mask-composite"?: ("add" | "exclude" | "intersect" | "subtract")[];
429
+ "mask-mode"?: ("alpha" | "luminance" | "match-source")[];
430
+ "mask-origin"?: ("border" | "content" | "fill-box" | "padding" | "stroke-box" | "view-box")[];
431
+ "text-transform"?: ("math-auto" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "none" | "uppercase")[];
432
+ "mix-blend-mode"?: ("plus-darker" | "plus-lighter")[];
433
+ "offset-anchor"?: ("auto" | "bottom" | "center" | "left" | "right" | "top")[];
434
+ "offset-path"?: ("border-box" | "content-box" | "fill-box" | "margin-box" | "none" | "padding-box" | "path" | "ray" | "stroke-box" | "url" | "view-box")[];
435
+ "offset-position"?: ("auto" | "bottom" | "center" | "left" | "normal" | "right" | "top")[];
436
+ "offset-rotate"?: ("auto" | "reverse")[];
437
+ "column-count"?: ("auto")[];
438
+ "column-gap"?: ("normal")[];
439
+ "column-width"?: ("auto")[];
440
+ "object-fit"?: ("contain" | "cover" | "fill" | "none" | "scale-down")[];
441
+ "object-view-box"?: ("none")[];
442
+ opacity?: ("percentages")[];
443
+ "outline-style"?: ("auto" | "dashed" | "dotted" | "double" | "groove" | "inset" | "none" | "outset" | "ridge" | "solid")[];
444
+ "overflow-anchor"?: ("auto" | "none")[];
445
+ "overflow-x"?: ("clip" | "auto" | "hidden" | "scroll" | "visible")[];
446
+ "overflow-y"?: ("clip" | "auto" | "hidden" | "scroll" | "visible")[];
447
+ overflow?: ("clip" | "auto" | "hidden" | "scroll" | "visible")[];
448
+ "overflow-clip-margin"?: ("border-box" | "content-box" | "padding-box")[];
449
+ "overflow-wrap"?: ("anywhere" | "break-word" | "normal")[];
450
+ overlay?: ("auto" | "none")[];
451
+ "overscroll-behavior-block"?: ("auto" | "contain" | "none")[];
452
+ "overscroll-behavior-inline"?: ("auto" | "contain" | "none")[];
453
+ "overscroll-behavior-x"?: ("auto" | "contain" | "none")[];
454
+ "overscroll-behavior-y"?: ("auto" | "contain" | "none")[];
455
+ "overscroll-behavior"?: ("auto" | "contain" | "none")[];
456
+ "page-break-after"?: ("always" | "auto" | "avoid" | "left" | "right")[];
457
+ "page-break-before"?: ("always" | "auto" | "avoid" | "left" | "right")[];
458
+ "page-break-inside"?: ("auto" | "avoid")[];
459
+ "print-color-adjust"?: ("economy" | "exact")[];
460
+ quotes?: ("auto" | "none")[];
461
+ "reading-flow"?: ("flex-flow" | "flex-visual" | "grid-columns" | "grid-order" | "grid-rows" | "normal" | "source-order")[];
462
+ resize?: ("block" | "inline")[];
463
+ "ruby-align"?: ("center" | "space-around" | "space-between" | "start")[];
464
+ "ruby-overhang"?: ("auto" | "none")[];
465
+ "scroll-behavior"?: ("auto" | "smooth")[];
466
+ "animation-range-end"?: ("normal")[];
467
+ "animation-range-start"?: ("normal")[];
468
+ "animation-timeline"?: ("scroll" | "view")[];
469
+ "scroll-timeline-axis"?: ("block" | "inline" | "x" | "y")[];
470
+ "timeline-scope"?: ("all" | "none")[];
471
+ "view-timeline-axis"?: ("block" | "inline" | "x" | "y")[];
472
+ "view-timeline-inset"?: ("auto")[];
473
+ "scroll-initial-target"?: ("nearest" | "none")[];
474
+ "scroll-marker-group"?: ("after" | "before" | "none")[];
475
+ "scroll-padding-block-end"?: ("auto")[];
476
+ "scroll-padding-block-start"?: ("auto")[];
477
+ "scroll-padding-block"?: ("auto")[];
478
+ "scroll-padding-inline-end"?: ("auto")[];
479
+ "scroll-padding-inline-start"?: ("auto")[];
480
+ "scroll-padding-inline"?: ("auto")[];
481
+ "scroll-padding"?: ("auto")[];
482
+ "scroll-snap-align"?: ("center" | "end" | "none" | "start")[];
483
+ "scroll-snap-stop"?: ("always" | "normal")[];
484
+ "scroll-snap-type"?: ("block" | "both" | "inline" | "none" | "x" | "y")[];
485
+ "scrollbar-color"?: ("auto")[];
486
+ "scrollbar-gutter"?: ("auto" | "stable")[];
487
+ "scrollbar-width"?: ("auto" | "none" | "thin")[];
488
+ "shape-image-threshold"?: ("percentages")[];
489
+ "shape-outside"?: ("circle" | "gradient" | "image" | "inset" | "none" | "path" | "polygon")[];
490
+ "speak-as"?: ("digits" | "literal-punctuation" | "no-punctuation" | "normal" | "spell-out")[];
491
+ "clip-rule"?: ("evenodd" | "nonzero")[];
492
+ "color-interpolation"?: ("linearGradient" | "sRGB")[];
493
+ "fill-rule"?: ("evenodd" | "nonzero")[];
494
+ "stroke-dasharray"?: ("none")[];
495
+ "stroke-linecap"?: ("butt" | "round" | "square")[];
496
+ "stroke-linejoin"?: ("bevel" | "miter" | "round")[];
497
+ "text-rendering"?: ("auto" | "geometricPrecision")[];
498
+ "color-interpolation-filters"?: ("auto" | "linearRGB" | "sRGB")[];
499
+ "tab-size"?: ("length")[];
500
+ "border-collapse"?: ("collapse" | "separate")[];
501
+ "caption-side"?: ("bottom" | "bottom-outside" | "top" | "top-outside")[];
502
+ "empty-cells"?: ("hide" | "show")[];
503
+ "table-layout"?: ("auto" | "fixed")[];
504
+ "text-align"?: ("center" | "end" | "justify" | "left" | "match-parent" | "right" | "start")[];
505
+ "text-align-last"?: ("auto")[];
506
+ "text-autospace"?: ("auto" | "ideograph-alpha" | "ideograph-numeric" | "insert" | "no-autospace" | "normal" | "punctuation" | "replace")[];
507
+ "text-box-edge"?: ("auto")[];
508
+ "text-box-trim"?: ("none" | "trim-both" | "trim-end" | "trim-start")[];
509
+ "text-box"?: ("normal")[];
510
+ "text-combine-upright"?: ("all" | "none")[];
511
+ "text-decoration-line"?: ("grammar-error" | "line-through" | "none" | "overline" | "spelling-error" | "underline" | "blink")[];
512
+ "text-decoration-skip-ink"?: ("all" | "auto" | "none")[];
513
+ "text-decoration-skip"?: ("auto" | "none")[];
514
+ "text-decoration-style"?: ("wavy")[];
515
+ "text-decoration-thickness"?: ("auto" | "from-font" | "percentage")[];
516
+ "text-emphasis-position"?: ("auto" | "left" | "over" | "right" | "under")[];
517
+ "text-emphasis-style"?: ("circle" | "dot" | "double-circle" | "filled" | "none" | "sesame" | "triangle")[];
518
+ "text-indent"?: ("each-line" | "hanging")[];
519
+ "text-justify"?: ("auto" | "inter-character" | "inter-word" | "none")[];
520
+ "text-orientation"?: ("mixed" | "sideways" | "upright")[];
521
+ "text-size-adjust"?: ("auto" | "none" | "percentages")[];
522
+ "text-spacing-trim"?: ("normal" | "space-all" | "space-first" | "trim-start")[];
523
+ "text-underline-offset"?: ("auto" | "percentage")[];
524
+ "text-underline-position"?: ("auto" | "from-font" | "left" | "right" | "under")[];
525
+ "text-wrap"?: ("wrap" | "balance" | "nowrap" | "pretty" | "stable")[];
526
+ "text-wrap-mode"?: ("nowrap" | "wrap")[];
527
+ "text-wrap-style"?: ("auto" | "balance" | "pretty" | "stable")[];
528
+ "touch-action"?: ("manipulation" | "none" | "pan-down" | "pan-left" | "pan-right" | "pan-up" | "pan-x" | "pan-y" | "pinch-zoom")[];
529
+ "transform-box"?: ("border-box" | "content-box" | "fill-box" | "stroke-box" | "view-box")[];
530
+ "transform-origin"?: ("bottom" | "center" | "left" | "right" | "top")[];
531
+ "perspective-origin"?: ("bottom" | "center" | "left" | "right" | "top")[];
532
+ perspective?: ("none")[];
533
+ transform?: ("3d")[];
534
+ transition?: ("transition-behavior")[];
535
+ "transition-property"?: ("all" | "none")[];
536
+ "transition-timing-function"?: ("jump")[];
537
+ "user-select"?: ("all" | "auto" | "none" | "text")[];
538
+ "vertical-align"?: ("baseline" | "bottom" | "middle" | "sub" | "super" | "text-bottom" | "text-top" | "top")[];
539
+ "view-transition-class"?: ("none")[];
540
+ "view-transition-name"?: ("match-element" | "none")[];
541
+ visibility?: ("collapse" | "hidden" | "visible")[];
542
+ "white-space"?: ("break-spaces" | "normal" | "nowrap" | "pre" | "pre-line" | "pre-wrap")[];
543
+ "white-space-collapse"?: ("break-spaces" | "collapse" | "preserve" | "preserve-breaks" | "preserve-spaces")[];
544
+ "will-change"?: ("auto" | "contents" | "scroll-position")[];
545
+ "word-break"?: ("break-all" | "keep-all" | "normal" | "auto-phrase" | "break-word")[];
546
+ "word-spacing"?: ("normal")[];
547
+ "writing-mode"?: ("horizontal-tb" | "sideways-lr" | "sideways-rl" | "vertical-lr" | "vertical-rl" | "lr" | "lr-tb" | "rl" | "rl-tb" | "tb" | "tb-rl")[];
548
+ "z-index"?: ("auto")[];
549
+ };
550
+ 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")[];
245
551
  }];
246
552
  type CssUseLayers = [] | [{
247
553
  allowUnnamedLayers?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kazupon/eslint-config",
3
3
  "description": "ESLint config for @kazupon",
4
- "version": "0.39.0",
4
+ "version": "0.39.1",
5
5
  "author": {
6
6
  "email": "kawakazu80@gmail.com",
7
7
  "name": "kazuya kawaguchi"
@@ -30,16 +30,16 @@
30
30
  "files": [
31
31
  "dist"
32
32
  ],
33
- "module": "./dist/index.js",
33
+ "module": "./dist/index.mjs",
34
34
  "exports": {
35
35
  ".": {
36
- "types": "./dist/index.d.ts",
37
- "import": "./dist/index.js",
38
- "default": "./dist/index.js"
36
+ "types": "./dist/index.d.mts",
37
+ "import": "./dist/index.mjs",
38
+ "default": "./dist/index.mjs"
39
39
  },
40
40
  "./package.json": "./package.json"
41
41
  },
42
- "types": "./dist/index.d.ts",
42
+ "types": "./dist/index.d.mts",
43
43
  "typesVersions": {
44
44
  "*": {
45
45
  "*": [
@@ -189,7 +189,7 @@
189
189
  },
190
190
  "devDependencies": {
191
191
  "@eslint/compat": "^1.4.1",
192
- "@eslint/css": "^0.13.0",
192
+ "@eslint/css": "^0.14.0",
193
193
  "@eslint/markdown": "^7.5.1",
194
194
  "@html-eslint/eslint-plugin": "^0.48.0",
195
195
  "@intlify/eslint-plugin-vue-i18n": "^4.1.0",