@shayanthenerd/eslint-config 0.9.0 → 0.11.0

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/README.md CHANGED
@@ -61,6 +61,9 @@ const eslintConfig = defineConfig();
61
61
  export default eslintConfigNuxt(eslintConfig);
62
62
  ```
63
63
 
64
+ > [!NOTE]
65
+ > The Nuxt config relies on the Vue config, so make sure it's enabled (either automatically or manually).
66
+
64
67
  3. Create an OXLint config file (_.oxlintrc.json_) in the root of your project:
65
68
  ```jsonc
66
69
  {
@@ -201,6 +204,7 @@ Install VS Code extensions for [ESLint](https://marketplace.visualstudio.com/ite
201
204
 
202
205
  /* Adjust these based on the features you're using to silently auto-fix the stylistic rules in your IDE. */
203
206
  "tailwindCSS.lint.cssConflict": "ignore", // Only if you're using the Tailwind config
207
+ "tailwindCSS.lint.recommendedVariantOrder": "ignore", // Only if you're using the Tailwind config
204
208
  "eslint.rules.customizations": [
205
209
  { "rule": "*styl*", "severity": "off", "fixable": true },
206
210
  { "rule": "*sort*", "severity": "off", "fixable": true },
@@ -7,7 +7,7 @@ import javascriptESLint from "@eslint/js";
7
7
 
8
8
  //#region src/configs/base.ts
9
9
  function getBaseConfig(options) {
10
- const { configs: { vue, base: { overrides } }, global: { globals: { node, worker, browser, commonjs, webextension, serviceworker, custom: userGlobals } } } = options;
10
+ const { configs: { vue, test: { vitest }, base: { overrides } }, global: { globals: { node, worker, browser, commonjs, webextension, serviceworker, custom: userGlobals } } } = options;
11
11
  return mergeConfigs({
12
12
  name: "shayanthenerd/base",
13
13
  files: [globs.src, vue ? globs.vue : ""],
@@ -31,6 +31,8 @@ function getBaseConfig(options) {
31
31
  ...worker ? globals.worker : {},
32
32
  ...serviceworker ? globals.serviceworker : {},
33
33
  ...webextension ? globals.webextensions : {},
34
+ ...vue ? globals.vue : {},
35
+ ...vitest ? globals.vitest : {},
34
36
  ...userGlobals
35
37
  }
36
38
  },
package/dist/index.js CHANGED
@@ -40,12 +40,34 @@ function defineConfig(options = {}, ...configs) {
40
40
  patterns: ignores
41
41
  });
42
42
  const oxlintConfigPath = path.resolve(oxlint || defaultOptions.configs.oxlint);
43
- return defineConfig$1({
44
- name: "shayanthenerd/global",
45
- linterOptions,
46
- settings,
47
- rules
48
- }, globalIgnores(ignorePatterns, "shayanthenerd/ignores"), getBaseConfig(mergedOptions), preferNamedExports ? getRestrictedExports() : {}, isEnabled(importX) ? getImportXConfig(mergedOptions) : {}, isEnabled(stylistic) ? getStylisticConfig(mergedOptions) : {}, isEnabled(perfectionist) ? getPerfectionistConfig(mergedOptions) : {}, isEnabled(typescript) ? getTypeScriptConfig(mergedOptions) : {}, isEnabled(html) ? getHTMLConfig(mergedOptions) : {}, isEnabled(css) ? getCSSConfig(mergedOptions) : {}, isEnabled(tailwind) ? getTailwindConfig(mergedOptions) : {}, isEnabled(vue) ? getVueConfig(mergedOptions) : {}, isEnabled(vue) ? getVueComponentNamesConfig() : {}, isEnabled(vue) && isEnabled(nuxt) ? getVueServerComponentsConfig() : {}, isEnabled(storybook) ? getStorybookConfig(mergedOptions) : {}, isEnabled(vitest) ? getVitestConfig(mergedOptions) : {}, isEnabled(playwright) ? getPlaywrightConfig(mergedOptions) : {}, isEnabled(cypress) ? getCypressConfig(mergedOptions) : {}, ...oxlint ? eslintPluginOXLint.buildFromOxlintConfigFile(oxlintConfigPath) : [], oxlint ? getOXLintOverridesConfig(mergedOptions) : {}, ...configs);
43
+ return defineConfig$1(...[
44
+ {
45
+ name: "shayanthenerd/global",
46
+ linterOptions,
47
+ settings,
48
+ rules
49
+ },
50
+ globalIgnores(ignorePatterns, "shayanthenerd/ignores"),
51
+ getBaseConfig(mergedOptions),
52
+ preferNamedExports ? getRestrictedExports() : void 0,
53
+ isEnabled(importX) ? getImportXConfig(mergedOptions) : void 0,
54
+ isEnabled(stylistic) ? getStylisticConfig(mergedOptions) : void 0,
55
+ isEnabled(perfectionist) ? getPerfectionistConfig(mergedOptions) : void 0,
56
+ isEnabled(typescript) ? getTypeScriptConfig(mergedOptions) : void 0,
57
+ isEnabled(html) ? getHTMLConfig(mergedOptions) : void 0,
58
+ isEnabled(css) ? getCSSConfig(mergedOptions) : void 0,
59
+ isEnabled(tailwind) ? getTailwindConfig(mergedOptions) : void 0,
60
+ isEnabled(vue) ? getVueConfig(mergedOptions) : void 0,
61
+ isEnabled(vue) ? getVueComponentNamesConfig() : void 0,
62
+ isEnabled(vue) && isEnabled(nuxt) ? getVueServerComponentsConfig() : void 0,
63
+ isEnabled(storybook) ? getStorybookConfig(mergedOptions) : void 0,
64
+ isEnabled(vitest) ? getVitestConfig(mergedOptions) : void 0,
65
+ isEnabled(playwright) ? getPlaywrightConfig(mergedOptions) : void 0,
66
+ isEnabled(cypress) ? getCypressConfig(mergedOptions) : void 0,
67
+ ...oxlint ? eslintPluginOXLint.buildFromOxlintConfigFile(oxlintConfigPath) : [],
68
+ oxlint ? getOXLintOverridesConfig(mergedOptions) : void 0,
69
+ ...configs
70
+ ].filter(Boolean));
49
71
  }
50
72
 
51
73
  //#endregion
@@ -56,6 +56,7 @@
56
56
  "eslint/arrow-body-style": "off",
57
57
  "eslint/func-names": ["error", "as-needed"],
58
58
  "eslint/no-plusplus": ["warn", { "allowForLoopAfterthoughts": true }],
59
+ "eslint/no-unused-vars": ["error", { "ignoreUsingDeclarations": true }],
59
60
  "eslint/no-duplicate-imports": ["error", { "allowSeparateTypeImports": true }],
60
61
  "eslint/grouped-accessor-pairs": ["warn", "anyOrder", { "enforceForTSTypes": true }],
61
62
  "eslint/no-console": [
@@ -67,6 +68,7 @@
67
68
 
68
69
  /*** TypeScript ***/
69
70
  "typescript/triple-slash-reference": "off",
71
+ "typescript/strict-boolean-expressions": "off",
70
72
  "typescript/explicit-function-return-type": "off",
71
73
  "typescript/explicit-module-boundary-types": "off",
72
74
  "typescript/consistent-indexed-object-style": ["warn", "record"],
@@ -110,9 +110,6 @@ function getStylisticRules(options) {
110
110
  "class",
111
111
  "block",
112
112
  "while",
113
- "throw",
114
- "return",
115
- "switch",
116
113
  "export",
117
114
  "function",
118
115
  "directive",
@@ -64,8 +64,8 @@ interface VueOptions extends ConfigWithOverrides {
64
64
  * 'CONDITIONALS',
65
65
  * 'RENDER_MODIFIERS',
66
66
  * 'LIST_RENDERING',
67
- * 'DEFINITION',
68
67
  * 'UNIQUE',
68
+ * 'DEFINITION',
69
69
  * 'GLOBAL',
70
70
  * 'TWO_WAY_BINDING',
71
71
  * 'SLOT',
@@ -1717,6 +1717,11 @@ interface ESLintSchema {
1717
1717
  * @see https://github.com/eslint/css/blob/main/docs/rules/no-invalid-properties.md
1718
1718
  */
1719
1719
  'css/no-invalid-properties'?: Linter.RuleEntry<CssNoInvalidProperties>;
1720
+ /**
1721
+ * Disallow unmatchable selectors
1722
+ * @see https://github.com/eslint/css/blob/main/docs/rules/no-unmatchable-selectors.md
1723
+ */
1724
+ 'css/no-unmatchable-selectors'?: Linter.RuleEntry<[]>;
1720
1725
  /**
1721
1726
  * Enforce the use of logical properties
1722
1727
  * @see https://github.com/eslint/css/blob/main/docs/rules/prefer-logical-properties.md
@@ -3425,6 +3430,11 @@ interface ESLintSchema {
3425
3430
  * @see https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-unsafe-references.md
3426
3431
  */
3427
3432
  'playwright/no-unsafe-references'?: Linter.RuleEntry<[]>;
3433
+ /**
3434
+ * Disallow usage of page locators that are not used
3435
+ * @see https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-unused-locators.md
3436
+ */
3437
+ 'playwright/no-unused-locators'?: Linter.RuleEntry<[]>;
3428
3438
  /**
3429
3439
  * Disallow unnecessary awaits for Playwright methods
3430
3440
  * @see https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-useless-await.md
@@ -3551,7 +3561,7 @@ interface ESLintSchema {
3551
3561
  */
3552
3562
  'playwright/valid-expect-in-promise'?: Linter.RuleEntry<[]>;
3553
3563
  /**
3554
- * Enforce valid tag format in Playwright test blocks
3564
+ * Enforce valid tag format in Playwright test blocks and titles
3555
3565
  */
3556
3566
  'playwright/valid-test-tags'?: Linter.RuleEntry<PlaywrightValidTestTags>;
3557
3567
  /**
@@ -8591,8 +8601,8 @@ type CssNoInvalidProperties = [] | [{
8591
8601
  }];
8592
8602
  // ----- css/prefer-logical-properties -----
8593
8603
  type CssPreferLogicalProperties = [] | [{
8594
- allowProperties?: string[];
8595
- allowUnits?: string[];
8604
+ 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")[];
8605
+ allowUnits?: ("cqh" | "cqw" | "dvh" | "dvw" | "lvh" | "lvw" | "svh" | "svw" | "vh" | "vw")[];
8596
8606
  }];
8597
8607
  // ----- css/relative-font-units -----
8598
8608
  type CssRelativeFontUnits = [] | [{
@@ -8613,14 +8623,315 @@ type CssSelectorComplexity = [] | [{
8613
8623
  disallowPseudoElements?: string[];
8614
8624
  disallowAttributes?: string[];
8615
8625
  disallowAttributeMatchers?: string[];
8616
- [k: string]: unknown | undefined;
8617
8626
  }];
8618
8627
  // ----- css/use-baseline -----
8619
8628
  type CssUseBaseline = [] | [{
8620
8629
  available?: (("widely" | "newly") | number);
8621
- allowAtRules?: string[];
8622
- allowProperties?: string[];
8623
- allowSelectors?: string[];
8630
+ 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")[];
8631
+ 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")[];
8632
+ 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")[];
8633
+ 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")[];
8634
+ allowPropertyValues?: {
8635
+ position?: ("absolute" | "fixed" | "relative" | "static" | "sticky")[];
8636
+ "accent-color"?: ("auto")[];
8637
+ "alignment-baseline"?: ("alphabetic" | "baseline" | "central" | "ideographic" | "mathematical" | "middle" | "text-after-edge" | "text-before-edge")[];
8638
+ "align-items"?: ("anchor-center")[];
8639
+ "align-self"?: ("anchor-center" | "auto" | "normal" | "stretch")[];
8640
+ "anchor-name"?: ("none")[];
8641
+ "anchor-scope"?: ("all" | "none")[];
8642
+ "block-size"?: ("anchor-size" | "fit-content" | "max-content" | "min-content")[];
8643
+ bottom?: ("anchor" | "anchor-size" | "auto")[];
8644
+ height?: ("anchor-size" | "fit-content" | "max-content" | "min-content" | "stretch" | "auto")[];
8645
+ "inline-size"?: ("anchor-size" | "fit-content" | "max-content" | "min-content")[];
8646
+ "inset-block-end"?: ("anchor" | "anchor-size" | "auto")[];
8647
+ "inset-block-start"?: ("anchor" | "anchor-size" | "auto")[];
8648
+ "inset-block"?: ("anchor" | "anchor-size" | "auto")[];
8649
+ "inset-inline-end"?: ("anchor" | "anchor-size" | "auto")[];
8650
+ "inset-inline-start"?: ("anchor" | "anchor-size" | "auto")[];
8651
+ "inset-inline"?: ("anchor" | "anchor-size" | "auto")[];
8652
+ inset?: ("anchor" | "anchor-size" | "auto")[];
8653
+ "justify-items"?: ("anchor-center" | "left" | "legacy" | "right")[];
8654
+ "justify-self"?: ("anchor-center" | "auto" | "left" | "normal" | "right" | "stretch")[];
8655
+ left?: ("anchor" | "anchor-size" | "auto")[];
8656
+ "margin-block-end"?: ("anchor-size")[];
8657
+ "margin-block-start"?: ("anchor-size")[];
8658
+ "margin-block"?: ("anchor-size")[];
8659
+ "margin-bottom"?: ("anchor-size" | "auto")[];
8660
+ "margin-inline-end"?: ("anchor-size")[];
8661
+ "margin-inline-start"?: ("anchor-size")[];
8662
+ "margin-inline"?: ("anchor-size")[];
8663
+ "margin-left"?: ("anchor-size" | "auto")[];
8664
+ "margin-right"?: ("anchor-size" | "auto")[];
8665
+ "margin-top"?: ("anchor-size" | "auto")[];
8666
+ margin?: ("anchor-size" | "auto")[];
8667
+ "max-block-size"?: ("anchor-size" | "fit-content" | "max-content" | "min-content")[];
8668
+ "max-height"?: ("anchor-size" | "fit-content" | "max-content" | "min-content" | "none" | "stretch")[];
8669
+ "max-inline-size"?: ("anchor-size" | "fit-content" | "max-content" | "min-content")[];
8670
+ "max-width"?: ("anchor-size" | "fit-content" | "max-content" | "min-content" | "none" | "stretch")[];
8671
+ "min-block-size"?: ("anchor-size" | "fit-content" | "max-content" | "min-content")[];
8672
+ "min-height"?: ("anchor-size" | "fit-content" | "max-content" | "min-content" | "auto" | "stretch")[];
8673
+ "min-inline-size"?: ("anchor-size" | "fit-content" | "max-content" | "min-content")[];
8674
+ "min-width"?: ("anchor-size" | "fit-content" | "max-content" | "min-content" | "auto" | "stretch")[];
8675
+ "place-items"?: ("anchor-center")[];
8676
+ "place-self"?: ("anchor-center")[];
8677
+ "position-anchor"?: ("auto")[];
8678
+ "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")[];
8679
+ "position-try-fallbacks"?: ("flip-block" | "flip-inline" | "flip-start" | "none" | "position-area")[];
8680
+ "position-try-order"?: ("most-block-size" | "most-height" | "most-inline-size" | "most-width" | "normal")[];
8681
+ "position-visibility"?: ("always" | "anchors-visible" | "no-overflow")[];
8682
+ right?: ("anchor" | "anchor-size" | "auto")[];
8683
+ top?: ("anchor" | "anchor-size" | "auto")[];
8684
+ width?: ("anchor-size" | "fit-content" | "max-content" | "min-content" | "stretch" | "auto")[];
8685
+ "animation-direction"?: ("alternate" | "alternate-reverse" | "normal" | "reverse")[];
8686
+ "animation-duration"?: ("auto")[];
8687
+ "animation-fill-mode"?: ("backwards" | "both" | "forwards" | "none")[];
8688
+ "animation-iteration-count"?: ("infinite")[];
8689
+ "animation-name"?: ("none")[];
8690
+ "animation-play-state"?: ("paused" | "running")[];
8691
+ "animation-timing-function"?: ("jump")[];
8692
+ appearance?: ("auto" | "button" | "checkbox" | "listbox" | "menulist" | "menulist-button" | "meter" | "none" | "progress-bar" | "radio" | "searchfield" | "textarea" | "textfield" | "base-select")[];
8693
+ "aspect-ratio"?: ("auto")[];
8694
+ "background-attachment"?: ("fixed" | "local" | "scroll")[];
8695
+ "background-clip"?: ("border-box" | "content-box" | "padding-box" | "border-area" | "text")[];
8696
+ background?: ("background-clip" | "background-origin" | "background-size")[];
8697
+ "background-image"?: ("none" | "element" | "gradients" | "image-set")[];
8698
+ "background-origin"?: ("border-box" | "content-box" | "padding-box")[];
8699
+ "background-position"?: ("bottom" | "center" | "left" | "right" | "top")[];
8700
+ "background-repeat"?: ("2-value" | "no-repeat" | "repeat" | "repeat-x" | "repeat-y" | "round" | "space")[];
8701
+ "background-size"?: ("auto" | "contain" | "cover")[];
8702
+ "baseline-shift"?: ("baseline" | "sub" | "super")[];
8703
+ "baseline-source"?: ("auto" | "first" | "last")[];
8704
+ "border-image-repeat"?: ("repeat" | "round" | "space" | "stretch")[];
8705
+ "border-image-width"?: ("auto")[];
8706
+ "border-image"?: ("fill" | "gradient")[];
8707
+ "border-bottom-left-radius"?: ("percentages")[];
8708
+ "border-bottom-right-radius"?: ("percentages")[];
8709
+ "border-radius"?: ("percentages")[];
8710
+ "border-top-left-radius"?: ("percentages")[];
8711
+ "border-top-right-radius"?: ("percentages")[];
8712
+ "border-style"?: ("dashed" | "dotted" | "double" | "groove" | "hidden" | "inset" | "none" | "outset" | "ridge" | "solid")[];
8713
+ "box-decoration-break"?: ("clone" | "slice")[];
8714
+ "box-shadow"?: ("inset")[];
8715
+ "box-sizing"?: ("border-box" | "content-box")[];
8716
+ "caret-shape"?: ("auto" | "bar" | "block" | "underscore")[];
8717
+ clip?: ("auto")[];
8718
+ "clip-path"?: ("path" | "fill-box" | "stroke-box" | "view-box")[];
8719
+ "color-scheme"?: ("dark" | "light" | "normal" | "only")[];
8720
+ "break-after"?: ("avoid-column" | "column" | "always" | "auto" | "avoid" | "avoid-page" | "left" | "page" | "recto" | "right" | "verso")[];
8721
+ "break-before"?: ("avoid-column" | "column" | "always" | "auto" | "avoid" | "avoid-page" | "left" | "page" | "recto" | "right" | "verso")[];
8722
+ "break-inside"?: ("avoid-column" | "auto" | "avoid" | "avoid-page")[];
8723
+ "column-fill"?: ("auto" | "balance")[];
8724
+ "column-span"?: ("all" | "none")[];
8725
+ contain?: ("content" | "none" | "strict" | "inline-size" | "layout" | "paint" | "size" | "style")[];
8726
+ "contain-intrinsic-block-size"?: ("none")[];
8727
+ "contain-intrinsic-height"?: ("none")[];
8728
+ "contain-intrinsic-inline-size"?: ("none")[];
8729
+ "contain-intrinsic-size"?: ("none")[];
8730
+ "contain-intrinsic-width"?: ("none")[];
8731
+ "container-name"?: ("none")[];
8732
+ "container-type"?: ("inline-size" | "normal" | "size" | "scroll-state")[];
8733
+ content?: ("gradient" | "none" | "normal" | "url" | "image-set")[];
8734
+ "content-visibility"?: ("auto" | "hidden" | "visible")[];
8735
+ "counter-reset"?: ("reversed" | "list-item" | "none")[];
8736
+ "counter-set"?: ("list-item" | "none")[];
8737
+ "counter-increment"?: ("list-item" | "none")[];
8738
+ "image-rendering"?: ("crisp-edges" | "auto" | "pixelated" | "smooth")[];
8739
+ "text-overflow"?: ("string" | "clip" | "ellipsis")[];
8740
+ 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")[];
8741
+ "ruby-position"?: ("alternate" | "inter-character" | "over" | "under")[];
8742
+ "dominant-baseline"?: ("alphabetic" | "auto" | "central" | "hanging" | "ideographic" | "mathematical" | "middle")[];
8743
+ "field-sizing"?: ("content" | "fixed")[];
8744
+ filter?: ("blur" | "brightness" | "contrast" | "drop-shadow" | "grayscale" | "hue-rotate" | "invert" | "opacity" | "saturate" | "sepia")[];
8745
+ "align-content"?: ("normal")[];
8746
+ "flex-basis"?: ("auto" | "content" | "fit-content" | "max-content" | "min-content")[];
8747
+ "flex-direction"?: ("column" | "column-reverse" | "row" | "row-reverse")[];
8748
+ "flex-wrap"?: ("nowrap" | "wrap" | "wrap-reverse")[];
8749
+ flex?: ("none")[];
8750
+ "justify-content"?: ("left" | "normal" | "right")[];
8751
+ clear?: ("both" | "left" | "right" | "inline-end" | "inline-start")[];
8752
+ float?: ("left" | "none" | "right" | "inline-end" | "inline-start")[];
8753
+ "font-family"?: ("math" | "system-ui" | "ui-monospace" | "ui-rounded" | "ui-sans-serif" | "ui-serif")[];
8754
+ "font-feature-settings"?: ("normal")[];
8755
+ "font-kerning"?: ("auto" | "none" | "normal")[];
8756
+ "font-optical-sizing"?: ("auto" | "none")[];
8757
+ "font-palette"?: ("dark" | "light" | "normal")[];
8758
+ font?: ("caption" | "icon" | "menu" | "message-box" | "small-caption" | "status-bar")[];
8759
+ "font-size"?: ("xxx-large" | "math")[];
8760
+ "font-size-adjust"?: ("from-font" | "none" | "two-values")[];
8761
+ "font-stretch"?: ("percentage")[];
8762
+ "font-style"?: ("italic" | "normal" | "oblique-angle")[];
8763
+ "font-synthesis"?: ("position" | "small-caps" | "style" | "weight")[];
8764
+ "font-synthesis-position"?: ("auto" | "none")[];
8765
+ "font-synthesis-small-caps"?: ("auto" | "none")[];
8766
+ "font-synthesis-style"?: ("auto" | "none")[];
8767
+ "font-synthesis-weight"?: ("auto" | "none")[];
8768
+ "font-variant"?: ("historical-forms" | "none" | "normal" | "sub" | "super")[];
8769
+ "font-variant-alternates"?: ("annotation" | "historical-forms" | "normal" | "ornaments" | "styleset" | "stylistic" | "swash")[];
8770
+ "font-variant-caps"?: ("all-petite-caps" | "all-small-caps" | "normal" | "petite-caps" | "small-caps" | "titling-caps" | "unicase")[];
8771
+ "font-variant-east-asian"?: ("full-width" | "jis04" | "jis78" | "jis83" | "jis90" | "normal" | "proportional-width" | "ruby" | "simplified" | "traditional")[];
8772
+ "font-variant-emoji"?: ("emoji" | "normal" | "text" | "unicode")[];
8773
+ "font-variant-ligatures"?: ("common-ligatures" | "contextual" | "discretionary-ligatures" | "historical-ligatures" | "no-common-ligatures" | "no-contextual" | "no-discretionary-ligatures" | "no-historical-ligatures" | "none" | "normal")[];
8774
+ "font-variant-numeric"?: ("diagonal-fractions" | "lining-nums" | "normal" | "oldstyle-nums" | "ordinal" | "proportional-nums" | "slashed-zero" | "stacked-fractions" | "tabular-nums")[];
8775
+ "font-variant-position"?: ("normal" | "sub" | "super")[];
8776
+ "font-weight"?: ("bold" | "bolder" | "lighter" | "normal" | "number")[];
8777
+ "font-width"?: ("condensed" | "expanded" | "extra-condensed" | "extra-expanded" | "normal" | "semi-condensed" | "semi-expanded" | "ultra-condensed" | "ultra-expanded")[];
8778
+ "forced-color-adjust"?: ("auto" | "none" | "preserve-parent-color")[];
8779
+ gap?: ("normal")[];
8780
+ "grid-auto-flow"?: ("column" | "dense" | "row")[];
8781
+ "grid-template-areas"?: ("none")[];
8782
+ "grid-template-columns"?: ("auto" | "fit-content" | "max-content" | "min-content" | "minmax" | "none" | "repeat" | "animation" | "masonry" | "subgrid")[];
8783
+ "grid-template-rows"?: ("auto" | "fit-content" | "max-content" | "min-content" | "minmax" | "none" | "repeat" | "animation" | "masonry" | "subgrid")[];
8784
+ "grid-template"?: ("none")[];
8785
+ "row-gap"?: ("normal")[];
8786
+ "hanging-punctuation"?: ("allow-end" | "first" | "last" | "none")[];
8787
+ "hyphenate-character"?: ("auto")[];
8788
+ "hyphenate-limit-chars"?: ("auto")[];
8789
+ hyphens?: ("auto")[];
8790
+ "image-orientation"?: ("from-image" | "none")[];
8791
+ rotate?: ("none")[];
8792
+ scale?: ("none")[];
8793
+ translate?: ("none")[];
8794
+ "initial-letter"?: ("normal")[];
8795
+ interactivity?: ("auto" | "inert")[];
8796
+ "interpolate-size"?: ("allow-keywords" | "numeric-only")[];
8797
+ direction?: ("ltr" | "rtl")[];
8798
+ "unicode-bidi"?: ("bidi-override" | "embed" | "isolate" | "isolate-override" | "normal" | "plaintext")[];
8799
+ "letter-spacing"?: ("normal")[];
8800
+ "line-break"?: ("anywhere" | "auto" | "loose" | "normal" | "strict")[];
8801
+ "line-clamp"?: ("none")[];
8802
+ "line-height"?: ("normal")[];
8803
+ "list-style-image"?: ("none")[];
8804
+ "list-style-position"?: ("inside" | "outside")[];
8805
+ "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")[];
8806
+ "list-style"?: ("symbols")[];
8807
+ "overflow-block"?: ("overlay")[];
8808
+ "overflow-inline"?: ("overlay")[];
8809
+ "margin-trim"?: ("block" | "block-end" | "block-start" | "inline" | "inline-end" | "inline-start" | "none")[];
8810
+ "mask-type"?: ("alpha" | "luminance")[];
8811
+ "mask-clip"?: ("border" | "content" | "padding" | "text")[];
8812
+ "mask-composite"?: ("add" | "exclude" | "intersect" | "subtract")[];
8813
+ "mask-mode"?: ("alpha" | "luminance" | "match-source")[];
8814
+ "mask-origin"?: ("border" | "content" | "fill-box" | "padding" | "stroke-box" | "view-box")[];
8815
+ "text-transform"?: ("math-auto" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "none" | "uppercase")[];
8816
+ "mix-blend-mode"?: ("plus-darker" | "plus-lighter")[];
8817
+ "offset-anchor"?: ("auto" | "bottom" | "center" | "left" | "right" | "top")[];
8818
+ "offset-path"?: ("border-box" | "content-box" | "fill-box" | "margin-box" | "none" | "padding-box" | "path" | "ray" | "stroke-box" | "url" | "view-box")[];
8819
+ "offset-position"?: ("auto" | "bottom" | "center" | "left" | "normal" | "right" | "top")[];
8820
+ "offset-rotate"?: ("auto" | "reverse")[];
8821
+ "column-count"?: ("auto")[];
8822
+ "column-gap"?: ("normal")[];
8823
+ "column-width"?: ("auto")[];
8824
+ "object-fit"?: ("contain" | "cover" | "fill" | "none" | "scale-down")[];
8825
+ "object-view-box"?: ("none")[];
8826
+ opacity?: ("percentages")[];
8827
+ "outline-style"?: ("auto" | "dashed" | "dotted" | "double" | "groove" | "inset" | "none" | "outset" | "ridge" | "solid")[];
8828
+ "overflow-anchor"?: ("auto" | "none")[];
8829
+ "overflow-x"?: ("clip" | "auto" | "hidden" | "scroll" | "visible")[];
8830
+ "overflow-y"?: ("clip" | "auto" | "hidden" | "scroll" | "visible")[];
8831
+ overflow?: ("clip" | "auto" | "hidden" | "scroll" | "visible")[];
8832
+ "overflow-clip-margin"?: ("border-box" | "content-box" | "padding-box")[];
8833
+ "overflow-wrap"?: ("anywhere" | "break-word" | "normal")[];
8834
+ overlay?: ("auto" | "none")[];
8835
+ "overscroll-behavior-block"?: ("auto" | "contain" | "none")[];
8836
+ "overscroll-behavior-inline"?: ("auto" | "contain" | "none")[];
8837
+ "overscroll-behavior-x"?: ("auto" | "contain" | "none")[];
8838
+ "overscroll-behavior-y"?: ("auto" | "contain" | "none")[];
8839
+ "overscroll-behavior"?: ("auto" | "contain" | "none")[];
8840
+ "page-break-after"?: ("always" | "auto" | "avoid" | "left" | "right")[];
8841
+ "page-break-before"?: ("always" | "auto" | "avoid" | "left" | "right")[];
8842
+ "page-break-inside"?: ("auto" | "avoid")[];
8843
+ "print-color-adjust"?: ("economy" | "exact")[];
8844
+ quotes?: ("auto" | "none")[];
8845
+ "reading-flow"?: ("flex-flow" | "flex-visual" | "grid-columns" | "grid-order" | "grid-rows" | "normal" | "source-order")[];
8846
+ resize?: ("block" | "inline")[];
8847
+ "ruby-align"?: ("center" | "space-around" | "space-between" | "start")[];
8848
+ "ruby-overhang"?: ("auto" | "none")[];
8849
+ "scroll-behavior"?: ("auto" | "smooth")[];
8850
+ "animation-range-end"?: ("normal")[];
8851
+ "animation-range-start"?: ("normal")[];
8852
+ "animation-timeline"?: ("scroll" | "view")[];
8853
+ "scroll-timeline-axis"?: ("block" | "inline" | "x" | "y")[];
8854
+ "timeline-scope"?: ("all" | "none")[];
8855
+ "view-timeline-axis"?: ("block" | "inline" | "x" | "y")[];
8856
+ "view-timeline-inset"?: ("auto")[];
8857
+ "scroll-initial-target"?: ("nearest" | "none")[];
8858
+ "scroll-marker-group"?: ("after" | "before" | "none")[];
8859
+ "scroll-padding-block-end"?: ("auto")[];
8860
+ "scroll-padding-block-start"?: ("auto")[];
8861
+ "scroll-padding-block"?: ("auto")[];
8862
+ "scroll-padding-inline-end"?: ("auto")[];
8863
+ "scroll-padding-inline-start"?: ("auto")[];
8864
+ "scroll-padding-inline"?: ("auto")[];
8865
+ "scroll-padding"?: ("auto")[];
8866
+ "scroll-snap-align"?: ("center" | "end" | "none" | "start")[];
8867
+ "scroll-snap-stop"?: ("always" | "normal")[];
8868
+ "scroll-snap-type"?: ("block" | "both" | "inline" | "none" | "x" | "y")[];
8869
+ "scrollbar-color"?: ("auto")[];
8870
+ "scrollbar-gutter"?: ("auto" | "stable")[];
8871
+ "scrollbar-width"?: ("auto" | "none" | "thin")[];
8872
+ "shape-image-threshold"?: ("percentages")[];
8873
+ "shape-outside"?: ("circle" | "gradient" | "image" | "inset" | "none" | "path" | "polygon")[];
8874
+ "speak-as"?: ("digits" | "literal-punctuation" | "no-punctuation" | "normal" | "spell-out")[];
8875
+ "clip-rule"?: ("evenodd" | "nonzero")[];
8876
+ "color-interpolation"?: ("linearGradient" | "sRGB")[];
8877
+ "fill-rule"?: ("evenodd" | "nonzero")[];
8878
+ "stroke-dasharray"?: ("none")[];
8879
+ "stroke-linecap"?: ("butt" | "round" | "square")[];
8880
+ "stroke-linejoin"?: ("bevel" | "miter" | "round")[];
8881
+ "text-rendering"?: ("auto" | "geometricPrecision")[];
8882
+ "color-interpolation-filters"?: ("auto" | "linearRGB" | "sRGB")[];
8883
+ "tab-size"?: ("length")[];
8884
+ "border-collapse"?: ("collapse" | "separate")[];
8885
+ "caption-side"?: ("bottom" | "bottom-outside" | "top" | "top-outside")[];
8886
+ "empty-cells"?: ("hide" | "show")[];
8887
+ "table-layout"?: ("auto" | "fixed")[];
8888
+ "text-align"?: ("center" | "end" | "justify" | "left" | "match-parent" | "right" | "start")[];
8889
+ "text-align-last"?: ("auto")[];
8890
+ "text-autospace"?: ("auto" | "ideograph-alpha" | "ideograph-numeric" | "insert" | "no-autospace" | "normal" | "punctuation" | "replace")[];
8891
+ "text-box-edge"?: ("auto")[];
8892
+ "text-box-trim"?: ("none" | "trim-both" | "trim-end" | "trim-start")[];
8893
+ "text-box"?: ("normal")[];
8894
+ "text-combine-upright"?: ("all" | "none")[];
8895
+ "text-decoration-line"?: ("grammar-error" | "line-through" | "none" | "overline" | "spelling-error" | "underline" | "blink")[];
8896
+ "text-decoration-skip-ink"?: ("all" | "auto" | "none")[];
8897
+ "text-decoration-skip"?: ("auto" | "none")[];
8898
+ "text-decoration-style"?: ("wavy")[];
8899
+ "text-decoration-thickness"?: ("auto" | "from-font" | "percentage")[];
8900
+ "text-emphasis-position"?: ("auto" | "left" | "over" | "right" | "under")[];
8901
+ "text-emphasis-style"?: ("circle" | "dot" | "double-circle" | "filled" | "none" | "sesame" | "triangle")[];
8902
+ "text-indent"?: ("each-line" | "hanging")[];
8903
+ "text-justify"?: ("auto" | "inter-character" | "inter-word" | "none")[];
8904
+ "text-orientation"?: ("mixed" | "sideways" | "upright")[];
8905
+ "text-size-adjust"?: ("auto" | "none" | "percentages")[];
8906
+ "text-spacing-trim"?: ("normal" | "space-all" | "space-first" | "trim-start")[];
8907
+ "text-underline-offset"?: ("auto" | "percentage")[];
8908
+ "text-underline-position"?: ("auto" | "from-font" | "left" | "right" | "under")[];
8909
+ "text-wrap"?: ("wrap" | "balance" | "nowrap" | "pretty" | "stable")[];
8910
+ "text-wrap-mode"?: ("nowrap" | "wrap")[];
8911
+ "text-wrap-style"?: ("auto" | "balance" | "pretty" | "stable")[];
8912
+ "touch-action"?: ("manipulation" | "none" | "pan-down" | "pan-left" | "pan-right" | "pan-up" | "pan-x" | "pan-y" | "pinch-zoom")[];
8913
+ "transform-box"?: ("border-box" | "content-box" | "fill-box" | "stroke-box" | "view-box")[];
8914
+ "transform-origin"?: ("bottom" | "center" | "left" | "right" | "top")[];
8915
+ "perspective-origin"?: ("bottom" | "center" | "left" | "right" | "top")[];
8916
+ perspective?: ("none")[];
8917
+ transform?: ("3d")[];
8918
+ transition?: ("transition-behavior")[];
8919
+ "transition-property"?: ("all" | "none")[];
8920
+ "transition-timing-function"?: ("jump")[];
8921
+ "user-select"?: ("all" | "auto" | "none" | "text")[];
8922
+ "vertical-align"?: ("baseline" | "bottom" | "middle" | "sub" | "super" | "text-bottom" | "text-top" | "top")[];
8923
+ "view-transition-class"?: ("none")[];
8924
+ "view-transition-name"?: ("match-element" | "none")[];
8925
+ visibility?: ("collapse" | "hidden" | "visible")[];
8926
+ "white-space"?: ("break-spaces" | "normal" | "nowrap" | "pre" | "pre-line" | "pre-wrap")[];
8927
+ "white-space-collapse"?: ("break-spaces" | "collapse" | "preserve" | "preserve-breaks" | "preserve-spaces")[];
8928
+ "will-change"?: ("auto" | "contents" | "scroll-position")[];
8929
+ "word-break"?: ("break-all" | "keep-all" | "normal" | "auto-phrase" | "break-word")[];
8930
+ "word-spacing"?: ("normal")[];
8931
+ "writing-mode"?: ("horizontal-tb" | "sideways-lr" | "sideways-rl" | "vertical-lr" | "vertical-rl" | "lr" | "lr-tb" | "rl" | "rl-tb" | "tb" | "tb-rl")[];
8932
+ "z-index"?: ("auto")[];
8933
+ };
8934
+ 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")[];
8624
8935
  }];
8625
8936
  // ----- css/use-layers -----
8626
8937
  type CssUseLayers = [] | [{
@@ -120,8 +120,8 @@ const defaultOptions = {
120
120
  "CONDITIONALS",
121
121
  "RENDER_MODIFIERS",
122
122
  "LIST_RENDERING",
123
- "DEFINITION",
124
123
  "UNIQUE",
124
+ "DEFINITION",
125
125
  "GLOBAL",
126
126
  "SLOT",
127
127
  "TWO_WAY_BINDING",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shayanthenerd/eslint-config",
3
- "version": "0.9.0",
3
+ "version": "0.11.0",
4
4
  "license": "MIT",
5
5
  "description": "A modern, flexible ESLint configuration for enforcing best practices and maintaining a consistent coding style",
6
6
  "keywords": [
@@ -52,12 +52,12 @@
52
52
  "engines": {
53
53
  "node": ">=20.12.0"
54
54
  },
55
- "packageManager": "pnpm@10.18.3",
55
+ "packageManager": "pnpm@10.20.0",
56
56
  "scripts": {
57
57
  "prepare": "pnpm git:gitmessage && pnpm simple-git-hooks && pnpm generate:types",
58
58
  "prepublishOnly": "pnpm build:package",
59
59
  "git:gitmessage": "git config --local commit.template \".gitmessage\"",
60
- "inspect": "pnpm @eslint/config-inspector",
60
+ "inspect": "pnpm eslint-config-inspector",
61
61
  "build:package": "tsdown --no-report",
62
62
  "build:inspector": "pnpm eslint-config-inspector build --config=./scripts/defaultESLintConfigReference.ts",
63
63
  "preview:inspector": "pnpm serve .eslint-config-inspector",
@@ -80,12 +80,12 @@
80
80
  "**/*.{json,jsonc,yaml,yml,lock}": "pnpm format"
81
81
  },
82
82
  "dependencies": {
83
- "@eslint/compat": "1.4.0",
84
- "@eslint/css": "0.13.0",
85
- "@eslint/js": "9.38.0",
83
+ "@eslint/compat": "1.4.1",
84
+ "@eslint/css": "0.14.0",
85
+ "@eslint/js": "9.39.0",
86
86
  "@html-eslint/eslint-plugin": "0.47.0",
87
87
  "@stylistic/eslint-plugin": "5.5.0",
88
- "@vitest/eslint-plugin": "1.3.23",
88
+ "@vitest/eslint-plugin": "1.4.0",
89
89
  "defu": "6.1.4",
90
90
  "eslint": "9.38.0",
91
91
  "eslint-flat-config-utils": "2.1.4",
@@ -93,32 +93,32 @@
93
93
  "eslint-plugin-better-tailwindcss": "3.7.10",
94
94
  "eslint-plugin-cypress": "5.2.0",
95
95
  "eslint-plugin-import-x": "4.16.1",
96
- "eslint-plugin-oxlint": "1.23.0",
96
+ "eslint-plugin-oxlint": "1.25.0",
97
97
  "eslint-plugin-perfectionist": "4.15.1",
98
- "eslint-plugin-playwright": "2.2.2",
99
- "eslint-plugin-storybook": "9.1.13",
100
- "eslint-plugin-unused-imports": "4.2.0",
98
+ "eslint-plugin-playwright": "2.3.0",
99
+ "eslint-plugin-storybook": "10.0.2",
100
+ "eslint-plugin-unused-imports": "4.3.0",
101
101
  "eslint-plugin-vue": "10.5.1",
102
102
  "eslint-plugin-vuejs-accessibility": "2.4.1",
103
- "globals": "16.4.0",
103
+ "globals": "16.5.0",
104
104
  "local-pkg": "1.1.2",
105
- "oxlint": "1.23.0",
105
+ "oxlint": "1.25.0",
106
106
  "tailwind-csstree": "0.1.4",
107
- "typescript-eslint": "8.46.1"
107
+ "typescript-eslint": "8.46.2"
108
108
  },
109
109
  "devDependencies": {
110
110
  "@arethetypeswrong/cli": "0.18.2",
111
111
  "@eslint/config-inspector": "1.3.0",
112
- "@types/node": "24.8.1",
113
- "actions-up": "1.4.2",
112
+ "@types/node": "24.10.0",
113
+ "actions-up": "1.5.0",
114
114
  "eslint-typegen": "2.3.0",
115
115
  "nano-staged": "0.8.0",
116
116
  "prettier": "3.6.2",
117
- "publint": "0.3.14",
117
+ "publint": "0.3.15",
118
118
  "serve": "14.2.5",
119
119
  "simple-git-hooks": "2.13.1",
120
- "tsdown": "0.15.8",
120
+ "tsdown": "0.15.12",
121
121
  "typescript": "5.9.3",
122
- "unplugin-unused": "0.5.4"
122
+ "unplugin-unused": "0.5.5"
123
123
  }
124
124
  }