From c7ce5b0cab27e2aff577cbdaf6aa696798f02ec6 Mon Sep 17 00:00:00 2001 From: gabriel miranda Date: Mon, 18 Dec 2023 16:59:16 -0300 Subject: [PATCH] fix(eslint-plugin):formatting for all rules and on patch --- ...-unsupported-html-elements-attribbutes.mjs | 12 +- .../generate-no-unsupported-style-rules.mjs | 12 +- packages/eslint-plugin/codegen/index.mjs | 5 +- .../codegen/manual-changes.patch | 818 +++++++++--------- .../eslint-plugin/codegen/utils/add-rule.mjs | 6 +- .../src/rules/generated/index.ts | 20 +- .../no-css-border-inline-block-longhand.ts | 7 +- .../rules/generated/no-css-color-scheme.ts | 7 + .../rules/generated/no-css-font-stretch.ts | 7 + .../rules/generated/no-css-grid-template.ts | 7 +- .../generated/no-css-text-decoration-line.ts | 7 + .../no-css-text-decoration-skip-ink.ts | 7 + .../generated/no-css-text-decoration-style.ts | 7 + .../generated/no-css-text-orientation.ts | 7 + .../no-css-text-underline-position.ts | 7 + .../src/rules/generated/no-html-abbr.ts | 2 +- .../rules/generated/no-html-anchor-links.ts | 2 +- .../generated/no-html-aria-describedby.ts | 4 +- .../rules/generated/no-html-aria-hidden.ts | 4 +- .../src/rules/generated/no-html-aria-label.ts | 4 +- .../generated/no-html-aria-labelledby.ts | 4 +- .../src/rules/generated/no-html-aria-live.ts | 4 +- .../src/rules/generated/no-html-audio.ts | 2 +- .../src/rules/generated/no-html-base.ts | 2 +- .../src/rules/generated/no-html-bdi.ts | 2 +- .../src/rules/generated/no-html-body.ts | 2 +- .../rules/generated/no-html-button-reset.ts | 2 +- .../rules/generated/no-html-button-submit.ts | 2 +- .../src/rules/generated/no-html-dfn.ts | 2 +- .../src/rules/generated/no-html-dialog.ts | 2 +- .../src/rules/generated/no-html-doctype.ts | 2 +- .../src/rules/generated/no-html-form.ts | 2 +- .../rules/generated/no-html-input-checkbox.ts | 2 +- .../rules/generated/no-html-input-hidden.ts | 2 +- .../rules/generated/no-html-input-radio.ts | 2 +- .../rules/generated/no-html-input-reset.ts | 2 +- .../rules/generated/no-html-input-submit.ts | 2 +- .../src/rules/generated/no-html-input-text.ts | 2 +- .../src/rules/generated/no-html-lang.ts | 4 +- .../src/rules/generated/no-html-link.ts | 2 +- .../generated/no-html-loading-attribute.ts | 4 +- .../src/rules/generated/no-html-marquee.ts | 2 +- .../generated/no-html-meta-color-scheme.ts | 7 + .../src/rules/generated/no-html-meter.ts | 2 +- .../src/rules/generated/no-html-object.ts | 2 +- .../src/rules/generated/no-html-picture.ts | 2 +- .../src/rules/generated/no-html-popover.ts | 7 + .../src/rules/generated/no-html-progress.ts | 2 +- .../src/rules/generated/no-html-required.ts | 4 +- .../src/rules/generated/no-html-role.ts | 4 +- .../src/rules/generated/no-html-rp.ts | 2 +- .../src/rules/generated/no-html-rt.ts | 2 +- .../src/rules/generated/no-html-ruby.ts | 2 +- .../src/rules/generated/no-html-select.ts | 2 +- .../src/rules/generated/no-html-semantics.ts | 2 +- .../src/rules/generated/no-html-srcset.ts | 2 +- .../src/rules/generated/no-html-svg.ts | 2 +- .../src/rules/generated/no-html-target.ts | 4 +- .../src/rules/generated/no-html-textarea.ts | 2 +- .../src/rules/generated/no-html-video.ts | 2 +- .../src/rules/generated/no-html-wbr.ts | 2 +- 61 files changed, 566 insertions(+), 492 deletions(-) create mode 100644 packages/eslint-plugin/src/rules/generated/no-css-color-scheme.ts create mode 100644 packages/eslint-plugin/src/rules/generated/no-css-font-stretch.ts create mode 100644 packages/eslint-plugin/src/rules/generated/no-css-text-decoration-line.ts create mode 100644 packages/eslint-plugin/src/rules/generated/no-css-text-decoration-skip-ink.ts create mode 100644 packages/eslint-plugin/src/rules/generated/no-css-text-decoration-style.ts create mode 100644 packages/eslint-plugin/src/rules/generated/no-css-text-orientation.ts create mode 100644 packages/eslint-plugin/src/rules/generated/no-css-text-underline-position.ts create mode 100644 packages/eslint-plugin/src/rules/generated/no-html-meta-color-scheme.ts create mode 100644 packages/eslint-plugin/src/rules/generated/no-html-popover.ts diff --git a/packages/eslint-plugin/codegen/generate-no-unsupported-html-elements-attribbutes.mjs b/packages/eslint-plugin/codegen/generate-no-unsupported-html-elements-attribbutes.mjs index 01903ac0e9..77cd55a562 100644 --- a/packages/eslint-plugin/codegen/generate-no-unsupported-html-elements-attribbutes.mjs +++ b/packages/eslint-plugin/codegen/generate-no-unsupported-html-elements-attribbutes.mjs @@ -23,9 +23,9 @@ export async function generateNoUnsupportedHTMLElementsAndAttributes() { `import { createNoHTMLAttributeRule } from "../../utils/create-no-html-attribute-rule"; export default createNoHTMLAttributeRule( - '${featureName}', + "${featureName}" , ${supportPercetange * 100}, - 'https://www.caniemail.com/features/${featureNamePrefixed}/' + "https://www.caniemail.com/features/${featureNamePrefixed}/", )`, ); } else { @@ -38,9 +38,9 @@ export default createNoHTMLAttributeRule( `import { createNoHTMLAttributeRule } from "../../utils/create-no-html-attribute-rule"; export default createNoHTMLAttributeRule( - '${featureName}', + "${featureName}", ${supportPercetange * 100}, - 'https://www.caniemail.com/features/${featureNamePrefixed}/' + "https://www.caniemail.com/features/${featureNamePrefixed}/", )`, ); } else { @@ -49,9 +49,9 @@ export default createNoHTMLAttributeRule( `import { createNoHTMLElementRule } from "../../utils/create-no-html-element-rule"; export default createNoHTMLElementRule( - '${featureName}', + "${featureName}", ${supportPercetange * 100}, - 'https://www.caniemail.com/features/${featureNamePrefixed}/' + "https://www.caniemail.com/features/${featureNamePrefixed}/", )`, ); } diff --git a/packages/eslint-plugin/codegen/generate-no-unsupported-style-rules.mjs b/packages/eslint-plugin/codegen/generate-no-unsupported-style-rules.mjs index 0dbf2bd79c..8cb4032e37 100644 --- a/packages/eslint-plugin/codegen/generate-no-unsupported-style-rules.mjs +++ b/packages/eslint-plugin/codegen/generate-no-unsupported-style-rules.mjs @@ -22,9 +22,9 @@ export async function generateNoUnsupportedStyleRules() { `import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; export default createNoStylePropertyRule( - '${cssFeatureName}', - ${supportPercetange * 100}, - 'https://www.caniemail.com/features/${featureNamePrefixed}/' + "${cssFeatureName}", + ${supportPercetange * 100}, + "https://www.caniemail.com/features/${featureNamePrefixed}/", ); `, ); @@ -34,9 +34,9 @@ export default createNoStylePropertyRule( `import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; export default createNoStyleValueKeywordRule( - '${cssFeatureName}', - ${supportPercetange * 100}, - 'https://www.caniemail.com/features/${featureNamePrefixed}/' + "${cssFeatureName}", + ${supportPercetange * 100}, + "https://www.caniemail.com/features/${featureNamePrefixed}/", ); `, ); diff --git a/packages/eslint-plugin/codegen/index.mjs b/packages/eslint-plugin/codegen/index.mjs index 1b19a7f706..32b1a4c49d 100644 --- a/packages/eslint-plugin/codegen/index.mjs +++ b/packages/eslint-plugin/codegen/index.mjs @@ -1,9 +1,12 @@ +import { existsSync } from "node:fs"; import { rm, mkdir, writeFile } from "node:fs/promises"; import { generateNoUnsupportedStyleRules } from "./generate-no-unsupported-style-rules.mjs"; import { generateNoUnsupportedHTMLElementsAndAttributes } from "./generate-no-unsupported-html-elements-attribbutes.mjs"; (async () => { - await rm("src/rules/generated", { recursive: true }); + if (existsSync("src/rules/generated")) { + await rm("src/rules/generated", { recursive: true }); + } await mkdir("src/rules/generated"); await writeFile("src/rules/generated/index.ts", ""); diff --git a/packages/eslint-plugin/codegen/manual-changes.patch b/packages/eslint-plugin/codegen/manual-changes.patch index da8ca44c5d..fb25137eb4 100644 --- a/packages/eslint-plugin/codegen/manual-changes.patch +++ b/packages/eslint-plugin/codegen/manual-changes.patch @@ -2,89 +2,89 @@ diff --git a/packages/eslint-plugin/src/rules/generated/index.ts b/packages/esli index 86b0e2a..7012c5a 100644 --- a/packages/eslint-plugin/src/rules/generated/index.ts +++ b/packages/eslint-plugin/src/rules/generated/index.ts -@@ -48,7 +48,6 @@ import noHtmlAbbr from './no-html-abbr'; - import noCssWritingMode from './no-css-writing-mode'; - import noCssWordBreak from './no-css-word-break'; - import noCssVisibility from './no-css-visibility'; --import noCssVariables from './no-css-variables'; - import noCssUnitVmin from './no-css-unit-vmin'; - import noCssUnitVmax from './no-css-unit-vmax'; - import noCssUnitVh from './no-css-unit-vh'; -@@ -67,41 +66,9 @@ import noCssTextDecorationColor from './no-css-text-decoration-color'; - import noCssTextAlignLast from './no-css-text-align-last'; - import noCssTableLayout from './no-css-table-layout'; - import noCssTabSize from './no-css-tab-size'; --import noCssSytemUi from './no-css-sytem-ui'; --import noCssSelectorUniversal from './no-css-selector-universal'; --import noCssSelectorGeneralSibling from './no-css-selector-general-sibling'; --import noCssSelectorChild from './no-css-selector-child'; --import noCssSelectorChaining from './no-css-selector-chaining'; --import noCssSelectorAttribute from './no-css-selector-attribute'; --import noCssSelectorAdjacentSibling from './no-css-selector-adjacent-sibling'; - import noCssScrollSnap from './no-css-scroll-snap'; - import noCssRgba from './no-css-rgba'; - import noCssRadialGradient from './no-css-radial-gradient'; --import noCssPseudoElementPlaceholder from './no-css-pseudo-element-placeholder'; --import noCssPseudoElementMarker from './no-css-pseudo-element-marker'; --import noCssPseudoElementFirstLine from './no-css-pseudo-element-first-line'; --import noCssPseudoElementFirstLetter from './no-css-pseudo-element-first-letter'; --import noCssPseudoElementBefore from './no-css-pseudo-element-before'; --import noCssPseudoElementAfter from './no-css-pseudo-element-after'; --import noCssPseudoClassVisited from './no-css-pseudo-class-visited'; --import noCssPseudoClassTarget from './no-css-pseudo-class-target'; --import noCssPseudoClassOnlyOfType from './no-css-pseudo-class-only-of-type'; --import noCssPseudoClassOnlyChild from './no-css-pseudo-class-only-child'; --import noCssPseudoClassNthOfType from './no-css-pseudo-class-nth-of-type'; --import noCssPseudoClassNthLastOfType from './no-css-pseudo-class-nth-last-of-type'; --import noCssPseudoClassNthLastChild from './no-css-pseudo-class-nth-last-child'; --import noCssPseudoClassNthChild from './no-css-pseudo-class-nth-child'; --import noCssPseudoClassNot from './no-css-pseudo-class-not'; --import noCssPseudoClassLastOfType from './no-css-pseudo-class-last-of-type'; --import noCssPseudoClassLastChild from './no-css-pseudo-class-last-child'; --import noCssPseudoClassLang from './no-css-pseudo-class-lang'; --import noCssPseudoClassHover from './no-css-pseudo-class-hover'; --import noCssPseudoClassHas from './no-css-pseudo-class-has'; --import noCssPseudoClassFocus from './no-css-pseudo-class-focus'; --import noCssPseudoClassFirstOfType from './no-css-pseudo-class-first-of-type'; --import noCssPseudoClassFirstChild from './no-css-pseudo-class-first-child'; --import noCssPseudoClassChecked from './no-css-pseudo-class-checked'; --import noCssPseudoClassActive from './no-css-pseudo-class-active'; - import noCssPosition from './no-css-position'; - import noCssPaddingInlineStartEnd from './no-css-padding-inline-start-end'; - import noCssPaddingInlineBlock from './no-css-padding-inline-block'; -@@ -111,7 +78,6 @@ import noCssOutlineOffset from './no-css-outline-offset'; - import noCssOpacity from './no-css-opacity'; - import noCssObjectPosition from './no-css-object-position'; - import noCssObjectFit from './no-css-object-fit'; --import noCssNesting from './no-css-nesting'; - import noCssModernColor from './no-css-modern-color'; - import noCssMixBlendMode from './no-css-mix-blend-mode'; - import noCssMinInlineSize from './no-css-min-inline-size'; -@@ -125,7 +91,6 @@ import noCssLinearGradient from './no-css-linear-gradient'; - import noCssLeftRightTopBottom from './no-css-left-right-top-bottom'; - import noCssJustifyContent from './no-css-justify-content'; - import noCssIntrinsicSize from './no-css-intrinsic-size'; --import noCssInlineSize from './no-css-inline-size'; - import noCssImportant from './no-css-important'; - import noCssHyphens from './no-css-hyphens'; - import noCssGridTemplate from './no-css-grid-template'; -@@ -156,16 +121,6 @@ import noCssBackgroundOrigin from './no-css-background-origin'; - import noCssBackgroundImage from './no-css-background-image'; - import noCssBackgroundClip from './no-css-background-clip'; - import noCssBackgroundBlendMode from './no-css-background-blend-mode'; --import noCssAtSupports from './no-css-at-supports'; --import noCssAtMedia from './no-css-at-media'; --import noCssAtMediaPrefersReducedMotion from './no-css-at-media-prefers-reduced-motion'; --import noCssAtMediaPrefersColorScheme from './no-css-at-media-prefers-color-scheme'; --import noCssAtMediaOrientation from './no-css-at-media-orientation'; --import noCssAtMediaHover from './no-css-at-media-hover'; --import noCssAtMediaDevicePixelRatio from './no-css-at-media-device-pixel-ratio'; --import noCssAtKeyframes from './no-css-at-keyframes'; --import noCssAtImport from './no-css-at-import'; --import noCssAtFontFace from './no-css-at-font-face'; - import noCssAspectRatio from './no-css-aspect-ratio'; - import noCssAnimation from './no-css-animation'; - import noCssAlignItems from './no-css-align-items'; +@@ -48,7 +48,6 @@ import noHtmlAbbr from "./no-html-abbr"; + import noCssWritingMode from "./no-css-writing-mode"; + import noCssWordBreak from "./no-css-word-break"; + import noCssVisibility from "./no-css-visibility"; +-import noCssVariables from "./no-css-variables"; + import noCssUnitVmin from "./no-css-unit-vmin"; + import noCssUnitVmax from "./no-css-unit-vmax"; + import noCssUnitVh from "./no-css-unit-vh"; +@@ -67,41 +66,9 @@ import noCssTextDecorationColor from "./no-css-text-decoration-color"; + import noCssTextAlignLast from "./no-css-text-align-last"; + import noCssTableLayout from "./no-css-table-layout"; + import noCssTabSize from "./no-css-tab-size"; +-import noCssSytemUi from "./no-css-sytem-ui"; +-import noCssSelectorUniversal from "./no-css-selector-universal"; +-import noCssSelectorGeneralSibling from "./no-css-selector-general-sibling"; +-import noCssSelectorChild from "./no-css-selector-child"; +-import noCssSelectorChaining from "./no-css-selector-chaining"; +-import noCssSelectorAttribute from "./no-css-selector-attribute"; +-import noCssSelectorAdjacentSibling from "./no-css-selector-adjacent-sibling"; + import noCssScrollSnap from "./no-css-scroll-snap"; + import noCssRgba from "./no-css-rgba"; + import noCssRadialGradient from "./no-css-radial-gradient"; +-import noCssPseudoElementPlaceholder from "./no-css-pseudo-element-placeholder"; +-import noCssPseudoElementMarker from "./no-css-pseudo-element-marker"; +-import noCssPseudoElementFirstLine from "./no-css-pseudo-element-first-line"; +-import noCssPseudoElementFirstLetter from "./no-css-pseudo-element-first-letter"; +-import noCssPseudoElementBefore from "./no-css-pseudo-element-before"; +-import noCssPseudoElementAfter from "./no-css-pseudo-element-after"; +-import noCssPseudoClassVisited from "./no-css-pseudo-class-visited"; +-import noCssPseudoClassTarget from "./no-css-pseudo-class-target"; +-import noCssPseudoClassOnlyOfType from "./no-css-pseudo-class-only-of-type"; +-import noCssPseudoClassOnlyChild from "./no-css-pseudo-class-only-child"; +-import noCssPseudoClassNthOfType from "./no-css-pseudo-class-nth-of-type"; +-import noCssPseudoClassNthLastOfType from "./no-css-pseudo-class-nth-last-of-type"; +-import noCssPseudoClassNthLastChild from "./no-css-pseudo-class-nth-last-child"; +-import noCssPseudoClassNthChild from "./no-css-pseudo-class-nth-child"; +-import noCssPseudoClassNot from "./no-css-pseudo-class-not"; +-import noCssPseudoClassLastOfType from "./no-css-pseudo-class-last-of-type"; +-import noCssPseudoClassLastChild from "./no-css-pseudo-class-last-child"; +-import noCssPseudoClassLang from "./no-css-pseudo-class-lang"; +-import noCssPseudoClassHover from "./no-css-pseudo-class-hover"; +-import noCssPseudoClassHas from "./no-css-pseudo-class-has"; +-import noCssPseudoClassFocus from "./no-css-pseudo-class-focus"; +-import noCssPseudoClassFirstOfType from "./no-css-pseudo-class-first-of-type"; +-import noCssPseudoClassFirstChild from "./no-css-pseudo-class-first-child"; +-import noCssPseudoClassChecked from "./no-css-pseudo-class-checked"; +-import noCssPseudoClassActive from "./no-css-pseudo-class-active"; + import noCssPosition from "./no-css-position"; + import noCssPaddingInlineStartEnd from "./no-css-padding-inline-start-end"; + import noCssPaddingInlineBlock from "./no-css-padding-inline-block"; +@@ -111,7 +78,6 @@ import noCssOutlineOffset from "./no-css-outline-offset"; + import noCssOpacity from "./no-css-opacity"; + import noCssObjectPosition from "./no-css-object-position"; + import noCssObjectFit from "./no-css-object-fit"; +-import noCssNesting from "./no-css-nesting"; + import noCssModernColor from "./no-css-modern-color"; + import noCssMixBlendMode from "./no-css-mix-blend-mode"; + import noCssMinInlineSize from "./no-css-min-inline-size"; +@@ -125,7 +91,6 @@ import noCssLinearGradient from "./no-css-linear-gradient"; + import noCssLeftRightTopBottom from "./no-css-left-right-top-bottom"; + import noCssJustifyContent from "./no-css-justify-content"; + import noCssIntrinsicSize from "./no-css-intrinsic-size"; +-import noCssInlineSize from "./no-css-inline-size"; + import noCssImportant from "./no-css-important"; + import noCssHyphens from "./no-css-hyphens"; + import noCssGridTemplate from "./no-css-grid-template"; +@@ -156,16 +121,6 @@ import noCssBackgroundOrigin from "./no-css-background-origin"; + import noCssBackgroundImage from "./no-css-background-image"; + import noCssBackgroundClip from "./no-css-background-clip"; + import noCssBackgroundBlendMode from "./no-css-background-blend-mode"; +-import noCssAtSupports from "./no-css-at-supports"; +-import noCssAtMedia from "./no-css-at-media"; +-import noCssAtMediaPrefersReducedMotion from "./no-css-at-media-prefers-reduced-motion"; +-import noCssAtMediaPrefersColorScheme from "./no-css-at-media-prefers-color-scheme"; +-import noCssAtMediaOrientation from "./no-css-at-media-orientation"; +-import noCssAtMediaHover from "./no-css-at-media-hover"; +-import noCssAtMediaDevicePixelRatio from "./no-css-at-media-device-pixel-ratio"; +-import noCssAtKeyframes from "./no-css-at-keyframes"; +-import noCssAtImport from "./no-css-at-import"; +-import noCssAtFontFace from "./no-css-at-font-face"; + import noCssAspectRatio from "./no-css-aspect-ratio"; + import noCssAnimation from "./no-css-animation"; + import noCssAlignItems from "./no-css-align-items"; @@ -175,16 +130,6 @@ export { noCssAccentColor }; export { noCssAlignItems }; export { noCssAnimation }; @@ -177,9 +177,9 @@ index 7b85a22..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'at-font-face', -- 40.38461538461539, -- 'https://www.caniemail.com/features/css-at-font-face/' +- "at-font-face", +- 40.38461538461539, +- "https://www.caniemail.com/features/css-at-font-face/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-at-import.ts b/packages/eslint-plugin/src/rules/generated/no-css-at-import.ts deleted file mode 100644 @@ -190,9 +190,9 @@ index 28e08b9..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'at-import', -- 36.17021276595745, -- 'https://www.caniemail.com/features/css-at-import/' +- "at-import", +- 36.17021276595745, +- "https://www.caniemail.com/features/css-at-import/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-at-keyframes.ts b/packages/eslint-plugin/src/rules/generated/no-css-at-keyframes.ts deleted file mode 100644 @@ -203,9 +203,9 @@ index 6c96f79..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'at-keyframes', -- 36.17021276595745, -- 'https://www.caniemail.com/features/css-at-keyframes/' +- "at-keyframes", +- 36.17021276595745, +- "https://www.caniemail.com/features/css-at-keyframes/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-at-media-device-pixel-ratio.ts b/packages/eslint-plugin/src/rules/generated/no-css-at-media-device-pixel-ratio.ts deleted file mode 100644 @@ -216,9 +216,9 @@ index b184d1f..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'at-media-device-pixel-ratio', -- 49.01960784313725, -- 'https://www.caniemail.com/features/css-at-media-device-pixel-ratio/' +- "at-media-device-pixel-ratio", +- 49.01960784313725, +- "https://www.caniemail.com/features/css-at-media-device-pixel-ratio/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-at-media-hover.ts b/packages/eslint-plugin/src/rules/generated/no-css-at-media-hover.ts deleted file mode 100644 @@ -229,9 +229,9 @@ index b3227c4..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'at-media-hover', -- 35, -- 'https://www.caniemail.com/features/css-at-media-hover/' +- "at-media-hover", +- 35, +- "https://www.caniemail.com/features/css-at-media-hover/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-at-media-orientation.ts b/packages/eslint-plugin/src/rules/generated/no-css-at-media-orientation.ts deleted file mode 100644 @@ -242,9 +242,9 @@ index 0fd703e..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'at-media-orientation', -- 56.60377358490566, -- 'https://www.caniemail.com/features/css-at-media-orientation/' +- "at-media-orientation", +- 56.60377358490566, +- "https://www.caniemail.com/features/css-at-media-orientation/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-at-media-prefers-color-scheme.ts b/packages/eslint-plugin/src/rules/generated/no-css-at-media-prefers-color-scheme.ts deleted file mode 100644 @@ -255,9 +255,9 @@ index cf0ab84..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'at-media-prefers-color-scheme', -- 37.5, -- 'https://www.caniemail.com/features/css-at-media-prefers-color-scheme/' +- "at-media-prefers-color-scheme", +- 37.5, +- "https://www.caniemail.com/features/css-at-media-prefers-color-scheme/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-at-media-prefers-reduced-motion.ts b/packages/eslint-plugin/src/rules/generated/no-css-at-media-prefers-reduced-motion.ts deleted file mode 100644 @@ -268,9 +268,9 @@ index c61d904..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'at-media-prefers-reduced-motion', -- 49.01960784313725, -- 'https://www.caniemail.com/features/css-at-media-prefers-reduced-motion/' +- "at-media-prefers-reduced-motion", +- 49.01960784313725, +- "https://www.caniemail.com/features/css-at-media-prefers-reduced-motion/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-at-media.ts b/packages/eslint-plugin/src/rules/generated/no-css-at-media.ts deleted file mode 100644 @@ -281,9 +281,9 @@ index ae97ed7..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'at-media', -- 59.375, -- 'https://www.caniemail.com/features/css-at-media/' +- "at-media", +- 59.375, +- "https://www.caniemail.com/features/css-at-media/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-at-supports.ts b/packages/eslint-plugin/src/rules/generated/no-css-at-supports.ts deleted file mode 100644 @@ -294,9 +294,9 @@ index 1048ca9..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'at-supports', -- 53.06122448979592, -- 'https://www.caniemail.com/features/css-at-supports/' +- "at-supports", +- 53.06122448979592, +- "https://www.caniemail.com/features/css-at-supports/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-block-inline-size.ts b/packages/eslint-plugin/src/rules/generated/no-css-block-inline-size.ts index be0c9ff..2490a52 100644 @@ -304,12 +304,12 @@ index be0c9ff..2490a52 100644 +++ b/packages/eslint-plugin/src/rules/generated/no-css-block-inline-size.ts @@ -1,7 +1,7 @@ import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - + export default createNoStyleValueKeywordRule( -- 'block-inline-size', -+ ['block-size', 'inline-size'], - 48.46938775510204, - 'https://www.caniemail.com/features/css-block-inline-size/' +- "block-inline-size", ++ ["block-size", "inline-size"], + 48.46938775510204, + "https://www.caniemail.com/features/css-block-inline-size/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-border-inline-block-individual.ts b/packages/eslint-plugin/src/rules/generated/no-css-border-inline-block-individual.ts index 5984579..a4b56e2 100644 @@ -318,35 +318,35 @@ index 5984579..a4b56e2 100644 @@ -1,7 +1,29 @@ -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; +import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; - + -export default createNoStyleValueKeywordRule( -- 'border-inline-block-individual', +- "border-inline-block-individual", +export default createNoStylePropertyRule( + [ -+ 'border-inline-color', -+ 'border-inline-style', -+ 'border-inline-width', -+ 'border-inline-start', -+ 'border-inline-start-color', -+ 'border-inline-start-style', -+ 'border-inline-start-width', -+ 'border-inline-end-color', -+ 'border-inline-end-style', -+ 'border-inline-end-width', ++ "border-inline-color", ++ "border-inline-style", ++ "border-inline-width", ++ "border-inline-start", ++ "border-inline-start-color", ++ "border-inline-start-style", ++ "border-inline-start-width", ++ "border-inline-end-color", ++ "border-inline-end-style", ++ "border-inline-end-width", + -+ 'border-block-color', -+ 'border-block-style', -+ 'border-block-width', -+ 'border-block-start', -+ 'border-block-start-color', -+ 'border-block-start-style', -+ 'border-block-start-width', -+ 'border-block-end-color', -+ 'border-block-end-style', -+ 'border-block-end-width', ++ "border-block-color", ++ "border-block-style", ++ "border-block-width", ++ "border-block-start", ++ "border-block-start-color", ++ "border-block-start-style", ++ "border-block-start-width", ++ "border-block-end-color", ++ "border-block-end-style", ++ "border-block-end-width", + ], - 31.944444444444443, - 'https://www.caniemail.com/features/css-border-inline-block-individual/' + 31.944444444444443, + "https://www.caniemail.com/features/css-border-inline-block-individual/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-border-inline-block-longhand.ts b/packages/eslint-plugin/src/rules/generated/no-css-border-inline-block-longhand.ts index ae2c981..efa7cfe 100644 @@ -355,13 +355,13 @@ index ae2c981..efa7cfe 100644 @@ -1,7 +1,7 @@ -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; +import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; - + -export default createNoStyleValueKeywordRule( -- 'border-inline-block-longhand', +- "border-inline-block-longhand", +export default createNoStylePropertyRule( -+ ['border-inline-start', 'border-inline-end', 'border-block-start', 'border-block-end'], - 39.351851851851855, - 'https://www.caniemail.com/features/css-border-inline-block-longhand/' ++ ["border-inline-start", "border-inline-end", "border-block-start", "border-block-end"], + 39.351851851851855, + "https://www.caniemail.com/features/css-border-inline-block-longhand/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-border-inline-block.ts b/packages/eslint-plugin/src/rules/generated/no-css-border-inline-block.ts index d27e532..8c2f3d9 100644 @@ -370,13 +370,13 @@ index d27e532..8c2f3d9 100644 @@ -1,7 +1,7 @@ -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; +import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; - + -export default createNoStyleValueKeywordRule( -- 'border-inline-block', +- "border-inline-block", +export default createNoStylePropertyRule( -+ ['border-inline', 'border-block'], - 26.5, - 'https://www.caniemail.com/features/css-border-inline-block/' ++ ["border-inline", "border-block"], + 26.5, + "https://www.caniemail.com/features/css-border-inline-block/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-border-radius-logical.ts b/packages/eslint-plugin/src/rules/generated/no-css-border-radius-logical.ts index 50fbe53..200605e 100644 @@ -384,21 +384,21 @@ index 50fbe53..200605e 100644 +++ b/packages/eslint-plugin/src/rules/generated/no-css-border-radius-logical.ts @@ -1,7 +1,16 @@ import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - + export default createNoStyleValueKeywordRule( -- 'border-radius-logical', +- "border-radius-logical", + [ -+ 'border-start-end-radius', -+ 'border-end-end-radius', ++ "border-start-end-radius", ++ "border-end-end-radius", + -+ 'border-top-left-radius', -+ 'border-top-right-radius', ++ "border-top-left-radius", ++ "border-top-right-radius", + -+ 'border-bottom-left-radius', -+ 'border-bottom-right-radius', ++ "border-bottom-left-radius", ++ "border-bottom-right-radius", + ], - 14.880952380952381, - 'https://www.caniemail.com/features/css-border-radius-logical/' + 14.880952380952381, + "https://www.caniemail.com/features/css-border-radius-logical/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-column-layout-properties.ts b/packages/eslint-plugin/src/rules/generated/no-css-column-layout-properties.ts index 6c5a9f0..4647cdf 100644 @@ -407,13 +407,13 @@ index 6c5a9f0..4647cdf 100644 @@ -1,7 +1,7 @@ -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; +import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; - + -export default createNoStyleValueKeywordRule( -- 'column-layout-properties', +- "column-layout-properties", +export default createNoStylePropertyRule( -+ ['columns', 'column-fill', 'column-rule', 'column-gap', 'column-span'], - 51.973684210526315, - 'https://www.caniemail.com/features/css-column-layout-properties/' ++ ["columns", "column-fill", "column-rule", "column-gap", "column-span"], + 51.973684210526315, + "https://www.caniemail.com/features/css-column-layout-properties/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-gap.ts b/packages/eslint-plugin/src/rules/generated/no-css-gap.ts index c03be2c..eaef6c1 100644 @@ -421,12 +421,12 @@ index c03be2c..eaef6c1 100644 +++ b/packages/eslint-plugin/src/rules/generated/no-css-gap.ts @@ -1,7 +1,7 @@ import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; - + export default createNoStylePropertyRule( -- 'gap', -+ ['gap', 'row-gap', 'column-gap'], - 48.75, - 'https://www.caniemail.com/features/css-gap/' +- "gap", ++ ["gap", "row-gap", "column-gap"], + 48.75, + "https://www.caniemail.com/features/css-gap/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-display-flex.ts b/packages/eslint-plugin/src/rules/generated/no-css-display-flex.ts index ef050a0..d6f0144 100644 @@ -435,14 +435,14 @@ index ef050a0..d6f0144 100644 @@ -1,7 +1,8 @@ -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; +import { createNoStyleValueForProperty } from "../../utils/create-no-style-value-for-property"; - + -export default createNoStyleValueKeywordRule( -- 'display-flex', +- "display-flex", +export default createNoStyleValueForProperty( -+ 'flex', -+ 'display', - 67.24137931034483, - 'https://www.caniemail.com/features/css-display-flex/' ++ "flex", ++ "display", + 67.24137931034483, + "https://www.caniemail.com/features/css-display-flex/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-display-grid.ts b/packages/eslint-plugin/src/rules/generated/no-css-display-grid.ts index 9f9ff4b..64457c6 100644 @@ -451,14 +451,14 @@ index 9f9ff4b..64457c6 100644 @@ -1,7 +1,8 @@ -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; +import { createNoStyleValueForProperty } from "../../utils/create-no-style-value-for-property"; - + -export default createNoStyleValueKeywordRule( -- 'display-grid', +- "display-grid", +export default createNoStyleValueForProperty( -+ 'grid', -+ 'display', - 54.347826086956516, - 'https://www.caniemail.com/features/css-display-grid/' ++ "grid", ++ "display", + 54.347826086956516, + "https://www.caniemail.com/features/css-display-grid/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-flex-direction.ts b/packages/eslint-plugin/src/rules/generated/no-css-flex-direction.ts index b43524a..aa11181 100644 @@ -467,13 +467,13 @@ index b43524a..aa11181 100644 @@ -1,6 +1,7 @@ -import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; +import { createNoStyleValueForProperty } from "../../utils/create-no-style-value-for-property"; - + -export default createNoStylePropertyRule( +export default createNoStyleValueForProperty( -+ 'column', - 'flex-direction', - 50, - 'https://www.caniemail.com/features/css-flex-direction/' ++ "column", + "flex-direction", + 50, + "https://www.caniemail.com/features/css-flex-direction/", diff --git a/packages/eslint-plugin/src/rules/generated/no-css-flex-wrap.ts b/packages/eslint-plugin/src/rules/generated/no-css-flex-wrap.ts index 997e0fc..eccd6ae 100644 --- a/packages/eslint-plugin/src/rules/generated/no-css-flex-wrap.ts @@ -481,25 +481,25 @@ index 997e0fc..eccd6ae 100644 @@ -1,6 +1,7 @@ -import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; +import { createNoStyleValueForProperty } from "../../utils/create-no-style-value-for-property"; - + -export default createNoStylePropertyRule( +export default createNoStyleValueForProperty( -+ 'wrap', - 'flex-wrap', - 49.09090909090909, - 'https://www.caniemail.com/features/css-flex-wrap/' ++ "wrap", + "flex-wrap", + 49.09090909090909, + "https://www.caniemail.com/features/css-flex-wrap/", diff --git a/packages/eslint-plugin/src/rules/generated/no-css-function-clamp.ts b/packages/eslint-plugin/src/rules/generated/no-css-function-clamp.ts index d52bd96..055d39f 100644 --- a/packages/eslint-plugin/src/rules/generated/no-css-function-clamp.ts +++ b/packages/eslint-plugin/src/rules/generated/no-css-function-clamp.ts @@ -1,7 +1,7 @@ import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - + export default createNoStyleValueKeywordRule( -- 'function-clamp', -+ 'clamp', - 42.857142857142854, - 'https://www.caniemail.com/features/css-function-clamp/' +- "function-clamp", ++ "clamp", + 42.857142857142854, + "https://www.caniemail.com/features/css-function-clamp/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-function-max.ts b/packages/eslint-plugin/src/rules/generated/no-css-function-max.ts index 295aed1..0d3a4f0 100644 @@ -507,12 +507,12 @@ index 295aed1..0d3a4f0 100644 +++ b/packages/eslint-plugin/src/rules/generated/no-css-function-max.ts @@ -1,7 +1,7 @@ import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - + export default createNoStyleValueKeywordRule( -- 'function-max', -+ 'max', - 48.97959183673469, - 'https://www.caniemail.com/features/css-function-max/' +- "function-max", ++ "max", + 48.97959183673469, + "https://www.caniemail.com/features/css-function-max/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-function-min.ts b/packages/eslint-plugin/src/rules/generated/no-css-function-min.ts index 9589639..99225e0 100644 @@ -520,12 +520,12 @@ index 9589639..99225e0 100644 +++ b/packages/eslint-plugin/src/rules/generated/no-css-function-min.ts @@ -1,7 +1,7 @@ import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - + export default createNoStyleValueKeywordRule( -- 'function-min', -+ 'min', - 48.97959183673469, - 'https://www.caniemail.com/features/css-function-min/' +- "function-min", ++ "min", + 48.97959183673469, + "https://www.caniemail.com/features/css-function-min/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-grid-template.ts b/packages/eslint-plugin/src/rules/generated/no-css-grid-template.ts index eabb47a..34fea95 100644 @@ -533,12 +533,12 @@ index eabb47a..34fea95 100644 +++ b/packages/eslint-plugin/src/rules/generated/no-css-grid-template.ts @@ -1,7 +1,7 @@ import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; - + export default createNoStylePropertyRule( -- 'grid-template', -+ ['grid-template', 'grid-template-areas', 'grid-template-columns', 'grid-template-rows'], - 37.765957446808514, - 'https://www.caniemail.com/features/css-grid-template/' +- "grid-template", ++ ["grid-template", "grid-template-areas", "grid-template-columns", "grid-template-rows"], + 37.765957446808514, + "https://www.caniemail.com/features/css-grid-template/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-important.ts b/packages/eslint-plugin/src/rules/generated/no-css-important.ts index 836d840..3edcdb8 100644 @@ -546,12 +546,12 @@ index 836d840..3edcdb8 100644 +++ b/packages/eslint-plugin/src/rules/generated/no-css-important.ts @@ -1,7 +1,7 @@ import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - + export default createNoStyleValueKeywordRule( -- 'important', -+ '!important', - 66.30434782608695, - 'https://www.caniemail.com/features/css-important/' +- "important", ++ "!important", + 66.30434782608695, + "https://www.caniemail.com/features/css-important/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-inline-size.ts b/packages/eslint-plugin/src/rules/generated/no-css-inline-size.ts deleted file mode 100644 @@ -562,9 +562,9 @@ index 5d479c3..0000000 -import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; - -export default createNoStylePropertyRule( -- 'inline-size', -- 43.47826086956522, -- 'https://www.caniemail.com/features/css-inline-size/' +- "inline-size", +- 43.47826086956522, +- "https://www.caniemail.com/features/css-inline-size/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-intrinsic-size.ts b/packages/eslint-plugin/src/rules/generated/no-css-intrinsic-size.ts index 0e84697..e866454 100644 @@ -572,12 +572,12 @@ index 0e84697..e866454 100644 +++ b/packages/eslint-plugin/src/rules/generated/no-css-intrinsic-size.ts @@ -1,7 +1,7 @@ import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - + export default createNoStyleValueKeywordRule( -- 'intrinsic-size', -+ ['fit-content', 'min-content', 'max-content'], - 52.702702702702695, - 'https://www.caniemail.com/features/css-intrinsic-size/' +- "intrinsic-size", ++ ["fit-content", "min-content", "max-content"], + 52.702702702702695, + "https://www.caniemail.com/features/css-intrinsic-size/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-left-right-top-bottom.ts b/packages/eslint-plugin/src/rules/generated/no-css-left-right-top-bottom.ts index b3811d0..1a4c417 100644 @@ -585,13 +585,13 @@ index b3811d0..1a4c417 100644 +++ b/packages/eslint-plugin/src/rules/generated/no-css-left-right-top-bottom.ts @@ -1,7 +1,7 @@ import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - + export default createNoStyleValueKeywordRule( -- 'left-right-top-bottom', -- 64.13043478260869, -+ ['left', 'right', 'top', 'bottom'], +- "left-right-top-bottom", +- 64.13043478260869, ++ ["left", "right", "top", "bottom"], + 64.13043478260869, - 'https://www.caniemail.com/features/css-left-right-top-bottom/' + "https://www.caniemail.com/features/css-left-right-top-bottom/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-margin-block-start-end.ts b/packages/eslint-plugin/src/rules/generated/no-css-margin-block-start-end.ts index f8834d4..873d222 100644 @@ -600,13 +600,13 @@ index f8834d4..873d222 100644 @@ -1,7 +1,7 @@ -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; +import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; - + -export default createNoStyleValueKeywordRule( -- 'margin-block-start-end', +- "margin-block-start-end", +export default createNoStylePropertyRule( -+ ['margin-block-start', 'margin-block-end'], - 38.20754716981132, - 'https://www.caniemail.com/features/css-margin-block-start-end/' ++ ["margin-block-start", "margin-block-end"], + 38.20754716981132, + "https://www.caniemail.com/features/css-margin-block-start-end/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-margin-inline-block.ts b/packages/eslint-plugin/src/rules/generated/no-css-margin-inline-block.ts index 794948c..eb956a6 100644 @@ -615,13 +615,13 @@ index 794948c..eb956a6 100644 @@ -1,7 +1,7 @@ -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; +import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; - + -export default createNoStyleValueKeywordRule( -- 'margin-inline-block', +- "margin-inline-block", +export default createNoStylePropertyRule( -+ ['margin-inline', 'margin-block'], - 23.11320754716981, - 'https://www.caniemail.com/features/css-margin-inline-block/' ++ ["margin-inline", "margin-block"], + 23.11320754716981, + "https://www.caniemail.com/features/css-margin-inline-block/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-margin-inline-start-end.ts b/packages/eslint-plugin/src/rules/generated/no-css-margin-inline-start-end.ts index 76455ed..1746e99 100644 @@ -630,13 +630,13 @@ index 76455ed..1746e99 100644 @@ -1,7 +1,7 @@ -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; +import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; - + -export default createNoStyleValueKeywordRule( -- 'margin-inline-start-end', +- "margin-inline-start-end", +export default createNoStylePropertyRule( -+ ['margin-inline-start', 'margin-inline-end'], - 38.20754716981132, - 'https://www.caniemail.com/features/css-margin-inline-start-end/' ++ ["margin-inline-start", "margin-inline-end"], + 38.20754716981132, + "https://www.caniemail.com/features/css-margin-inline-start-end/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-modern-color.ts b/packages/eslint-plugin/src/rules/generated/no-css-modern-color.ts index dafdf5a..3125b6b 100644 @@ -644,12 +644,12 @@ index dafdf5a..3125b6b 100644 +++ b/packages/eslint-plugin/src/rules/generated/no-css-modern-color.ts @@ -1,7 +1,7 @@ import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - + export default createNoStyleValueKeywordRule( -- 'modern-color', -+ ['lch', 'oklch', 'lab', 'oklab'], - 27.027027027027028, - 'https://www.caniemail.com/features/css-modern-color/' +- "modern-color", ++ ["lch", "oklch", "lab", "oklab"], + 27.027027027027028, + "https://www.caniemail.com/features/css-modern-color/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-nesting.ts b/packages/eslint-plugin/src/rules/generated/no-css-nesting.ts deleted file mode 100644 @@ -660,9 +660,9 @@ index 7ea4d0b..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'nesting', -- 19.680851063829788, -- 'https://www.caniemail.com/features/css-nesting/' +- "nesting", +- 19.680851063829788, +- "https://www.caniemail.com/features/css-nesting/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-padding-block-start-end.ts b/packages/eslint-plugin/src/rules/generated/no-css-padding-block-start-end.ts index 7df7751..b133294 100644 @@ -671,13 +671,13 @@ index 7df7751..b133294 100644 @@ -1,7 +1,7 @@ -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; +import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; - + -export default createNoStyleValueKeywordRule( -- 'padding-block-start-end', +- "padding-block-start-end", +export default createNoStylePropertyRule( -+ ['padding-block-start', 'padding-block-end'], - 38.20754716981132, - 'https://www.caniemail.com/features/css-padding-block-start-end/' ++ ["padding-block-start", "padding-block-end"], + 38.20754716981132, + "https://www.caniemail.com/features/css-padding-block-start-end/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-padding-inline-block.ts b/packages/eslint-plugin/src/rules/generated/no-css-padding-inline-block.ts index 4ad64aa..3a7440b 100644 @@ -686,13 +686,13 @@ index 4ad64aa..3a7440b 100644 @@ -1,7 +1,7 @@ -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; +import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; - + -export default createNoStyleValueKeywordRule( -- 'padding-inline-block', +- "padding-inline-block", +export default createNoStylePropertyRule( -+ ['padding-inline', 'padding-block'], - 23.11320754716981, - 'https://www.caniemail.com/features/css-padding-inline-block/' ++ ["padding-inline", "padding-block"], + 23.11320754716981, + "https://www.caniemail.com/features/css-padding-inline-block/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-padding-inline-start-end.ts b/packages/eslint-plugin/src/rules/generated/no-css-padding-inline-start-end.ts index ab179f8..82fd771 100644 @@ -701,13 +701,13 @@ index ab179f8..82fd771 100644 @@ -1,7 +1,7 @@ -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; +import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; - + -export default createNoStyleValueKeywordRule( -- 'padding-inline-start-end', +- "padding-inline-start-end", +export default createNoStylePropertyRule( -+ ['padding-inline-start', 'padding-inline-end'], - 38.20754716981132, - 'https://www.caniemail.com/features/css-padding-inline-start-end/' ++ ["padding-inline-start", "padding-inline-end"], + 38.20754716981132, + "https://www.caniemail.com/features/css-padding-inline-start-end/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-active.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-active.ts deleted file mode 100644 @@ -718,9 +718,9 @@ index 347b7c7..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-class-active', -- 53.2608695652174, -- 'https://www.caniemail.com/features/css-pseudo-class-active/' +- "pseudo-class-active", +- 53.2608695652174, +- "https://www.caniemail.com/features/css-pseudo-class-active/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-checked.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-checked.ts deleted file mode 100644 @@ -731,9 +731,9 @@ index d612609..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-class-checked', -- 35.1063829787234, -- 'https://www.caniemail.com/features/css-pseudo-class-checked/' +- "pseudo-class-checked", +- 35.1063829787234, +- "https://www.caniemail.com/features/css-pseudo-class-checked/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-first-child.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-first-child.ts deleted file mode 100644 @@ -744,9 +744,9 @@ index 1daf0b2..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-class-first-child', -- 67.70833333333334, -- 'https://www.caniemail.com/features/css-pseudo-class-first-child/' +- "pseudo-class-first-child", +- 67.70833333333334, +- "https://www.caniemail.com/features/css-pseudo-class-first-child/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-first-of-type.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-first-of-type.ts deleted file mode 100644 @@ -757,9 +757,9 @@ index da43d35..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-class-first-of-type', -- 63.541666666666664, -- 'https://www.caniemail.com/features/css-pseudo-class-first-of-type/' +- "pseudo-class-first-of-type", +- 63.541666666666664, +- "https://www.caniemail.com/features/css-pseudo-class-first-of-type/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-focus.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-focus.ts deleted file mode 100644 @@ -770,9 +770,9 @@ index 61e4e99..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-class-focus', -- 48.91304347826087, -- 'https://www.caniemail.com/features/css-pseudo-class-focus/' +- "pseudo-class-focus", +- 48.91304347826087, +- "https://www.caniemail.com/features/css-pseudo-class-focus/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-has.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-has.ts deleted file mode 100644 @@ -783,9 +783,9 @@ index 2cc957d..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-class-has', -- 26.5625, -- 'https://www.caniemail.com/features/css-pseudo-class-has/' +- "pseudo-class-has", +- 26.5625, +- "https://www.caniemail.com/features/css-pseudo-class-has/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-hover.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-hover.ts deleted file mode 100644 @@ -796,9 +796,9 @@ index 177364f..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-class-hover', -- 62.5, -- 'https://www.caniemail.com/features/css-pseudo-class-hover/' +- "pseudo-class-hover", +- 62.5, +- "https://www.caniemail.com/features/css-pseudo-class-hover/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-lang.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-lang.ts deleted file mode 100644 @@ -809,9 +809,9 @@ index ee55585..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-class-lang', -- 27.7027027027027, -- 'https://www.caniemail.com/features/css-pseudo-class-lang/' +- "pseudo-class-lang", +- 27.7027027027027, +- "https://www.caniemail.com/features/css-pseudo-class-lang/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-last-child.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-last-child.ts deleted file mode 100644 @@ -822,9 +822,9 @@ index 471651c..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-class-last-child', -- 65.625, -- 'https://www.caniemail.com/features/css-pseudo-class-last-child/' +- "pseudo-class-last-child", +- 65.625, +- "https://www.caniemail.com/features/css-pseudo-class-last-child/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-last-of-type.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-last-of-type.ts deleted file mode 100644 @@ -835,9 +835,9 @@ index 5771041..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-class-last-of-type', -- 61.458333333333336, -- 'https://www.caniemail.com/features/css-pseudo-class-last-of-type/' +- "pseudo-class-last-of-type", +- 61.458333333333336, +- "https://www.caniemail.com/features/css-pseudo-class-last-of-type/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-not.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-not.ts deleted file mode 100644 @@ -848,9 +848,9 @@ index d7060cf..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-class-not', -- 44.89795918367347, -- 'https://www.caniemail.com/features/css-pseudo-class-not/' +- "pseudo-class-not", +- 44.89795918367347, +- "https://www.caniemail.com/features/css-pseudo-class-not/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-nth-child.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-nth-child.ts deleted file mode 100644 @@ -861,9 +861,9 @@ index 4c4fe8e..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-class-nth-child', -- 45.91836734693878, -- 'https://www.caniemail.com/features/css-pseudo-class-nth-child/' +- "pseudo-class-nth-child", +- 45.91836734693878, +- "https://www.caniemail.com/features/css-pseudo-class-nth-child/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-nth-last-child.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-nth-last-child.ts deleted file mode 100644 @@ -874,9 +874,9 @@ index 45c3b89..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-class-nth-last-child', -- 45.91836734693878, -- 'https://www.caniemail.com/features/css-pseudo-class-nth-last-child/' +- "pseudo-class-nth-last-child", +- 45.91836734693878, +- "https://www.caniemail.com/features/css-pseudo-class-nth-last-child/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-nth-last-of-type.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-nth-last-of-type.ts deleted file mode 100644 @@ -887,9 +887,9 @@ index d6edc26..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-class-nth-last-of-type', -- 43.87755102040816, -- 'https://www.caniemail.com/features/css-pseudo-class-nth-last-of-type/' +- "pseudo-class-nth-last-of-type", +- 43.87755102040816, +- "https://www.caniemail.com/features/css-pseudo-class-nth-last-of-type/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-nth-of-type.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-nth-of-type.ts deleted file mode 100644 @@ -900,9 +900,9 @@ index 768236d..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-class-nth-of-type', -- 43.87755102040816, -- 'https://www.caniemail.com/features/css-pseudo-class-nth-of-type/' +- "pseudo-class-nth-of-type", +- 43.87755102040816, +- "https://www.caniemail.com/features/css-pseudo-class-nth-of-type/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-only-child.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-only-child.ts deleted file mode 100644 @@ -913,9 +913,9 @@ index c89c6e0..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-class-only-child', -- 65.625, -- 'https://www.caniemail.com/features/css-pseudo-class-only-child/' +- "pseudo-class-only-child", +- 65.625, +- "https://www.caniemail.com/features/css-pseudo-class-only-child/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-only-of-type.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-only-of-type.ts deleted file mode 100644 @@ -926,9 +926,9 @@ index 56260cf..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-class-only-of-type', -- 65.625, -- 'https://www.caniemail.com/features/css-pseudo-class-only-of-type/' +- "pseudo-class-only-of-type", +- 65.625, +- "https://www.caniemail.com/features/css-pseudo-class-only-of-type/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-target.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-target.ts deleted file mode 100644 @@ -939,9 +939,9 @@ index cdc9d59..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-class-target', -- 40.21739130434783, -- 'https://www.caniemail.com/features/css-pseudo-class-target/' +- "pseudo-class-target", +- 40.21739130434783, +- "https://www.caniemail.com/features/css-pseudo-class-target/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-visited.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-class-visited.ts deleted file mode 100644 @@ -952,9 +952,9 @@ index ada8a47..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-class-visited', -- 40.21739130434783, -- 'https://www.caniemail.com/features/css-pseudo-class-visited/' +- "pseudo-class-visited", +- 40.21739130434783, +- "https://www.caniemail.com/features/css-pseudo-class-visited/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-element-after.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-element-after.ts deleted file mode 100644 @@ -965,9 +965,9 @@ index f3ff51a..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-element-after', -- 41, -- 'https://www.caniemail.com/features/css-pseudo-element-after/' +- "pseudo-element-after", +- 41, +- "https://www.caniemail.com/features/css-pseudo-element-after/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-element-before.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-element-before.ts deleted file mode 100644 @@ -978,9 +978,9 @@ index 1562d03..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-element-before', -- 41, -- 'https://www.caniemail.com/features/css-pseudo-element-before/' +- "pseudo-element-before", +- 41, +- "https://www.caniemail.com/features/css-pseudo-element-before/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-element-first-letter.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-element-first-letter.ts deleted file mode 100644 @@ -991,9 +991,9 @@ index 8654e0e..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-element-first-letter', -- 61, -- 'https://www.caniemail.com/features/css-pseudo-element-first-letter/' +- "pseudo-element-first-letter", +- 61, +- "https://www.caniemail.com/features/css-pseudo-element-first-letter/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-element-first-line.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-element-first-line.ts deleted file mode 100644 @@ -1004,9 +1004,9 @@ index 2d3e415..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-element-first-line', -- 61, -- 'https://www.caniemail.com/features/css-pseudo-element-first-line/' +- "pseudo-element-first-line", +- 61, +- "https://www.caniemail.com/features/css-pseudo-element-first-line/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-element-marker.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-element-marker.ts deleted file mode 100644 @@ -1017,9 +1017,9 @@ index d5b91c5..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-element-marker', -- 50, -- 'https://www.caniemail.com/features/css-pseudo-element-marker/' +- "pseudo-element-marker", +- 50, +- "https://www.caniemail.com/features/css-pseudo-element-marker/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-pseudo-element-placeholder.ts b/packages/eslint-plugin/src/rules/generated/no-css-pseudo-element-placeholder.ts deleted file mode 100644 @@ -1030,9 +1030,9 @@ index ded3dc3..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'pseudo-element-placeholder', -- 33, -- 'https://www.caniemail.com/features/css-pseudo-element-placeholder/' +- "pseudo-element-placeholder", +- 33, +- "https://www.caniemail.com/features/css-pseudo-element-placeholder/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-scroll-snap.ts b/packages/eslint-plugin/src/rules/generated/no-css-scroll-snap.ts index f97ca14..8b827e2 100644 @@ -1041,13 +1041,13 @@ index f97ca14..8b827e2 100644 @@ -1,7 +1,7 @@ -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; +import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; - + -export default createNoStyleValueKeywordRule( -- 'scroll-snap', +- "scroll-snap", +export default createNoStylePropertyRule( -+ 'scroll-snap-type', - 38.88888888888889, - 'https://www.caniemail.com/features/css-scroll-snap/' ++ "scroll-snap-type", + 38.88888888888889, + "https://www.caniemail.com/features/css-scroll-snap/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-selector-adjacent-sibling.ts b/packages/eslint-plugin/src/rules/generated/no-css-selector-adjacent-sibling.ts deleted file mode 100644 @@ -1058,9 +1058,9 @@ index cc1352a..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'selector-adjacent-sibling', -- 72.91666666666666, -- 'https://www.caniemail.com/features/css-selector-adjacent-sibling/' +- "selector-adjacent-sibling", +- 72.91666666666666, +- "https://www.caniemail.com/features/css-selector-adjacent-sibling/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-selector-attribute.ts b/packages/eslint-plugin/src/rules/generated/no-css-selector-attribute.ts deleted file mode 100644 @@ -1071,9 +1071,9 @@ index ba36b52..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'selector-attribute', -- 54, -- 'https://www.caniemail.com/features/css-selector-attribute/' +- "selector-attribute", +- 54, +- "https://www.caniemail.com/features/css-selector-attribute/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-selector-chaining.ts b/packages/eslint-plugin/src/rules/generated/no-css-selector-chaining.ts deleted file mode 100644 @@ -1084,9 +1084,9 @@ index baaf803..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'selector-chaining', -- 67.70833333333334, -- 'https://www.caniemail.com/features/css-selector-chaining/' +- "selector-chaining", +- 67.70833333333334, +- "https://www.caniemail.com/features/css-selector-chaining/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-selector-child.ts b/packages/eslint-plugin/src/rules/generated/no-css-selector-child.ts deleted file mode 100644 @@ -1097,9 +1097,9 @@ index 4675a8b..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'selector-child', -- 67.70833333333334, -- 'https://www.caniemail.com/features/css-selector-child/' +- "selector-child", +- 67.70833333333334, +- "https://www.caniemail.com/features/css-selector-child/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-selector-general-sibling.ts b/packages/eslint-plugin/src/rules/generated/no-css-selector-general-sibling.ts deleted file mode 100644 @@ -1110,9 +1110,9 @@ index 6e1b9ac..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'selector-general-sibling', -- 70.83333333333334, -- 'https://www.caniemail.com/features/css-selector-general-sibling/' +- "selector-general-sibling", +- 70.83333333333334, +- "https://www.caniemail.com/features/css-selector-general-sibling/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-selector-universal.ts b/packages/eslint-plugin/src/rules/generated/no-css-selector-universal.ts deleted file mode 100644 @@ -1123,9 +1123,9 @@ index cf68f77..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'selector-universal', -- 71.875, -- 'https://www.caniemail.com/features/css-selector-universal/' +- "selector-universal", +- 71.875, +- "https://www.caniemail.com/features/css-selector-universal/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-sytem-ui.ts b/packages/eslint-plugin/src/rules/generated/no-css-sytem-ui.ts deleted file mode 100644 @@ -1136,9 +1136,9 @@ index 9f59073..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'sytem-ui', -- 73.07692307692307, -- 'https://www.caniemail.com/features/css-sytem-ui/' +- "sytem-ui", +- 73.07692307692307, +- "https://www.caniemail.com/features/css-sytem-ui/", -); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-unit-calc.ts b/packages/eslint-plugin/src/rules/generated/no-css-unit-calc.ts index fcbdd75..764d226 100644 @@ -1146,12 +1146,12 @@ index fcbdd75..764d226 100644 +++ b/packages/eslint-plugin/src/rules/generated/no-css-unit-calc.ts @@ -1,7 +1,7 @@ import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - + export default createNoStyleValueKeywordRule( -- 'unit-calc', -+ 'calc', - 58.333333333333336, - 'https://www.caniemail.com/features/css-unit-calc/' +- "unit-calc", ++ "calc", + 58.333333333333336, + "https://www.caniemail.com/features/css-unit-calc/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-unit-ch.ts b/packages/eslint-plugin/src/rules/generated/no-css-unit-ch.ts index 908c579..78208c8 100644 @@ -1159,12 +1159,12 @@ index 908c579..78208c8 100644 +++ b/packages/eslint-plugin/src/rules/generated/no-css-unit-ch.ts @@ -1,7 +1,7 @@ import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - + export default createNoStyleValueKeywordRule( -- 'unit-ch', -+ 'ch', - 66.66666666666666, - 'https://www.caniemail.com/features/css-unit-ch/' +- "unit-ch", ++ "ch", + 66.66666666666666, + "https://www.caniemail.com/features/css-unit-ch/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-unit-initial.ts b/packages/eslint-plugin/src/rules/generated/no-css-unit-initial.ts index 2732ea6..5fc07bb 100644 @@ -1172,12 +1172,12 @@ index 2732ea6..5fc07bb 100644 +++ b/packages/eslint-plugin/src/rules/generated/no-css-unit-initial.ts @@ -1,7 +1,7 @@ import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - + export default createNoStyleValueKeywordRule( -- 'unit-initial', -+ 'initial', - 62.5, - 'https://www.caniemail.com/features/css-unit-initial/' +- "unit-initial", ++ "initial", + 62.5, + "https://www.caniemail.com/features/css-unit-initial/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-unit-rem.ts b/packages/eslint-plugin/src/rules/generated/no-css-unit-rem.ts index b63ec04..9010047 100644 @@ -1185,12 +1185,12 @@ index b63ec04..9010047 100644 +++ b/packages/eslint-plugin/src/rules/generated/no-css-unit-rem.ts @@ -1,7 +1,7 @@ import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - + export default createNoStyleValueKeywordRule( -- 'unit-rem', -+ 'rem', - 66.66666666666666, - 'https://www.caniemail.com/features/css-unit-rem/' +- "unit-rem", ++ "rem", + 66.66666666666666, + "https://www.caniemail.com/features/css-unit-rem/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-unit-vh.ts b/packages/eslint-plugin/src/rules/generated/no-css-unit-vh.ts index 2e18e64..474499f 100644 @@ -1198,12 +1198,12 @@ index 2e18e64..474499f 100644 +++ b/packages/eslint-plugin/src/rules/generated/no-css-unit-vh.ts @@ -1,7 +1,7 @@ import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - + export default createNoStyleValueKeywordRule( -- 'unit-vh', -+ 'vh', - 72, - 'https://www.caniemail.com/features/css-unit-vh/' +- "unit-vh", ++ "vh", + 72, + "https://www.caniemail.com/features/css-unit-vh/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-unit-vmax.ts b/packages/eslint-plugin/src/rules/generated/no-css-unit-vmax.ts index b31ba51..928e8d0 100644 @@ -1211,12 +1211,12 @@ index b31ba51..928e8d0 100644 +++ b/packages/eslint-plugin/src/rules/generated/no-css-unit-vmax.ts @@ -1,7 +1,7 @@ import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - + export default createNoStyleValueKeywordRule( -- 'unit-vmax', -+ 'vmax', - 64.58333333333334, - 'https://www.caniemail.com/features/css-unit-vmax/' +- "unit-vmax", ++ "vmax", + 64.58333333333334, + "https://www.caniemail.com/features/css-unit-vmax/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-unit-vmin.ts b/packages/eslint-plugin/src/rules/generated/no-css-unit-vmin.ts index ff3ece1..4f979ea 100644 @@ -1224,12 +1224,12 @@ index ff3ece1..4f979ea 100644 +++ b/packages/eslint-plugin/src/rules/generated/no-css-unit-vmin.ts @@ -1,7 +1,7 @@ import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - + export default createNoStyleValueKeywordRule( -- 'unit-vmin', -+ 'vmin', - 62.5, - 'https://www.caniemail.com/features/css-unit-vmin/' +- "unit-vmin", ++ "vmin", + 62.5, + "https://www.caniemail.com/features/css-unit-vmin/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-variables.ts b/packages/eslint-plugin/src/rules/generated/no-css-variables.ts deleted file mode 100644 @@ -1240,7 +1240,7 @@ index 9266d38..0000000 -import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; - -export default createNoStyleValueKeywordRule( -- 'variables', -- 46.55172413793103, -- 'https://www.caniemail.com/features/css-variables/' +- "variables", +- 46.55172413793103, +- "https://www.caniemail.com/features/css-variables/", -); diff --git a/packages/eslint-plugin/codegen/utils/add-rule.mjs b/packages/eslint-plugin/codegen/utils/add-rule.mjs index f6cdc416c1..2045910460 100644 --- a/packages/eslint-plugin/codegen/utils/add-rule.mjs +++ b/packages/eslint-plugin/codegen/utils/add-rule.mjs @@ -23,10 +23,10 @@ export const addRule = async (feature, content) => { await writeFile(newRuleFilename, content); const camelCasedRule = `no${camelize(feature)[0].toUpperCase()}${camelize(feature).slice(1)}`; - const currentIndexContents = await readFile('./src/rules/generated/index.ts', 'utf-8'); + const currentIndexContents = await readFile("./src/rules/generated/index.ts", "utf-8"); await writeFile( - './src/rules/generated/index.ts', - `import ${camelCasedRule} from './${ruleBasename}';\n${currentIndexContents}\nexport { ${camelCasedRule} };` + "./src/rules/generated/index.ts", + `import ${camelCasedRule} from "./${ruleBasename}";\n${currentIndexContents}\nexport { ${camelCasedRule} };` ); } diff --git a/packages/eslint-plugin/src/rules/generated/index.ts b/packages/eslint-plugin/src/rules/generated/index.ts index 58e92a42a8..315c2f4b5e 100644 --- a/packages/eslint-plugin/src/rules/generated/index.ts +++ b/packages/eslint-plugin/src/rules/generated/index.ts @@ -12,9 +12,11 @@ import noHtmlRp from "./no-html-rp"; import noHtmlRole from "./no-html-role"; import noHtmlRequired from "./no-html-required"; import noHtmlProgress from "./no-html-progress"; +import noHtmlPopover from "./no-html-popover"; import noHtmlPicture from "./no-html-picture"; import noHtmlObject from "./no-html-object"; import noHtmlMeter from "./no-html-meter"; +import noHtmlMetaColorScheme from "./no-html-meta-color-scheme"; import noHtmlMarquee from "./no-html-marquee"; import noHtmlLoadingAttribute from "./no-html-loading-attribute"; import noHtmlLink from "./no-html-link"; @@ -53,12 +55,17 @@ import noCssUnitInitial from "./no-css-unit-initial"; import noCssUnitCh from "./no-css-unit-ch"; import noCssUnitCalc from "./no-css-unit-calc"; import noCssTransform from "./no-css-transform"; +import noCssTextUnderlinePosition from "./no-css-text-underline-position"; import noCssTextUnderlineOffset from "./no-css-text-underline-offset"; import noCssTextShadow from "./no-css-text-shadow"; import noCssTextOverflow from "./no-css-text-overflow"; +import noCssTextOrientation from "./no-css-text-orientation"; import noCssTextEmphasis from "./no-css-text-emphasis"; import noCssTextEmphasisPosition from "./no-css-text-emphasis-position"; import noCssTextDecorationThickness from "./no-css-text-decoration-thickness"; +import noCssTextDecorationStyle from "./no-css-text-decoration-style"; +import noCssTextDecorationSkipInk from "./no-css-text-decoration-skip-ink"; +import noCssTextDecorationLine from "./no-css-text-decoration-line"; import noCssTextDecorationColor from "./no-css-text-decoration-color"; import noCssTextAlignLast from "./no-css-text-align-last"; import noCssTableLayout from "./no-css-table-layout"; @@ -95,6 +102,7 @@ import noCssGap from "./no-css-gap"; import noCssFunctionMin from "./no-css-function-min"; import noCssFunctionMax from "./no-css-function-max"; import noCssFunctionClamp from "./no-css-function-clamp"; +import noCssFontStretch from "./no-css-font-stretch"; import noCssFontKerning from "./no-css-font-kerning"; import noCssFlexWrap from "./no-css-flex-wrap"; import noCssFlexDirection from "./no-css-flex-direction"; @@ -104,6 +112,7 @@ import noCssDisplayFlex from "./no-css-display-flex"; import noCssConicGradient from "./no-css-conic-gradient"; import noCssColumnLayoutProperties from "./no-css-column-layout-properties"; import noCssColumnCount from "./no-css-column-count"; +import noCssColorScheme from "./no-css-color-scheme"; import noCssClipPath from "./no-css-clip-path"; import noCssBoxSizing from "./no-css-box-sizing"; import noCssBoxShadow from "./no-css-box-shadow"; @@ -141,6 +150,7 @@ export { noCssBorderRadius }; export { noCssBoxShadow }; export { noCssBoxSizing }; export { noCssClipPath }; +export { noCssColorScheme }; export { noCssColumnCount }; export { noCssColumnLayoutProperties }; export { noCssConicGradient }; @@ -150,6 +160,7 @@ export { noCssFilter }; export { noCssFlexDirection }; export { noCssFlexWrap }; export { noCssFontKerning }; +export { noCssFontStretch }; export { noCssFunctionClamp }; export { noCssFunctionMax }; export { noCssFunctionMin }; @@ -186,12 +197,17 @@ export { noCssTabSize }; export { noCssTableLayout }; export { noCssTextAlignLast }; export { noCssTextDecorationColor }; +export { noCssTextDecorationLine }; +export { noCssTextDecorationSkipInk }; +export { noCssTextDecorationStyle }; export { noCssTextDecorationThickness }; export { noCssTextEmphasisPosition }; export { noCssTextEmphasis }; +export { noCssTextOrientation }; export { noCssTextOverflow }; export { noCssTextShadow }; export { noCssTextUnderlineOffset }; +export { noCssTextUnderlinePosition }; export { noCssTransform }; export { noCssUnitCalc }; export { noCssUnitCh }; @@ -230,9 +246,11 @@ export { noHtmlLang }; export { noHtmlLink }; export { noHtmlLoadingAttribute }; export { noHtmlMarquee }; +export { noHtmlMetaColorScheme }; export { noHtmlMeter }; export { noHtmlObject }; export { noHtmlPicture }; +export { noHtmlPopover }; export { noHtmlProgress }; export { noHtmlRequired }; export { noHtmlRole }; @@ -246,4 +264,4 @@ export { noHtmlSvg }; export { noHtmlTarget }; export { noHtmlTextarea }; export { noHtmlVideo }; -export { noHtmlWbr }; +export { noHtmlWbr }; \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-css-border-inline-block-longhand.ts b/packages/eslint-plugin/src/rules/generated/no-css-border-inline-block-longhand.ts index 24aff5508e..71ee3de1c3 100644 --- a/packages/eslint-plugin/src/rules/generated/no-css-border-inline-block-longhand.ts +++ b/packages/eslint-plugin/src/rules/generated/no-css-border-inline-block-longhand.ts @@ -1,12 +1,7 @@ import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; export default createNoStylePropertyRule( - [ - "border-inline-start", - "border-inline-end", - "border-block-start", - "border-block-end", - ], + ["border-inline-start", "border-inline-end", "border-block-start", "border-block-end"], 39.351851851851855, "https://www.caniemail.com/features/css-border-inline-block-longhand/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-color-scheme.ts b/packages/eslint-plugin/src/rules/generated/no-css-color-scheme.ts new file mode 100644 index 0000000000..cdfdf07d80 --- /dev/null +++ b/packages/eslint-plugin/src/rules/generated/no-css-color-scheme.ts @@ -0,0 +1,7 @@ +import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; + +export default createNoStyleValueKeywordRule( + "color-scheme", + 20.3125, + "https://www.caniemail.com/features/css-color-scheme/", +); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-font-stretch.ts b/packages/eslint-plugin/src/rules/generated/no-css-font-stretch.ts new file mode 100644 index 0000000000..46bd4c41cb --- /dev/null +++ b/packages/eslint-plugin/src/rules/generated/no-css-font-stretch.ts @@ -0,0 +1,7 @@ +import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; + +export default createNoStylePropertyRule( + "font-stretch", + 50, + "https://www.caniemail.com/features/css-font-stretch/", +); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-grid-template.ts b/packages/eslint-plugin/src/rules/generated/no-css-grid-template.ts index 297c07976d..aa6a298113 100644 --- a/packages/eslint-plugin/src/rules/generated/no-css-grid-template.ts +++ b/packages/eslint-plugin/src/rules/generated/no-css-grid-template.ts @@ -1,12 +1,7 @@ import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; export default createNoStylePropertyRule( - [ - "grid-template", - "grid-template-areas", - "grid-template-columns", - "grid-template-rows", - ], + ["grid-template", "grid-template-areas", "grid-template-columns", "grid-template-rows"], 37.765957446808514, "https://www.caniemail.com/features/css-grid-template/", ); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-text-decoration-line.ts b/packages/eslint-plugin/src/rules/generated/no-css-text-decoration-line.ts new file mode 100644 index 0000000000..85df9eece6 --- /dev/null +++ b/packages/eslint-plugin/src/rules/generated/no-css-text-decoration-line.ts @@ -0,0 +1,7 @@ +import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; + +export default createNoStylePropertyRule( + "text-decoration-line", + 52.77777777777778, + "https://www.caniemail.com/features/css-text-decoration-line/", +); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-text-decoration-skip-ink.ts b/packages/eslint-plugin/src/rules/generated/no-css-text-decoration-skip-ink.ts new file mode 100644 index 0000000000..29a1bb5371 --- /dev/null +++ b/packages/eslint-plugin/src/rules/generated/no-css-text-decoration-skip-ink.ts @@ -0,0 +1,7 @@ +import { createNoStyleValueKeywordRule } from "../../utils/create-no-style-value-keyword-rule"; + +export default createNoStyleValueKeywordRule( + "text-decoration-skip-ink", + 31.73076923076923, + "https://www.caniemail.com/features/css-text-decoration-skip-ink/", +); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-text-decoration-style.ts b/packages/eslint-plugin/src/rules/generated/no-css-text-decoration-style.ts new file mode 100644 index 0000000000..78c45385b7 --- /dev/null +++ b/packages/eslint-plugin/src/rules/generated/no-css-text-decoration-style.ts @@ -0,0 +1,7 @@ +import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; + +export default createNoStylePropertyRule( + "text-decoration-style", + 52.77777777777778, + "https://www.caniemail.com/features/css-text-decoration-style/", +); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-text-orientation.ts b/packages/eslint-plugin/src/rules/generated/no-css-text-orientation.ts new file mode 100644 index 0000000000..f23b5ead5b --- /dev/null +++ b/packages/eslint-plugin/src/rules/generated/no-css-text-orientation.ts @@ -0,0 +1,7 @@ +import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; + +export default createNoStylePropertyRule( + "text-orientation", + 46.03174603174603, + "https://www.caniemail.com/features/css-text-orientation/", +); diff --git a/packages/eslint-plugin/src/rules/generated/no-css-text-underline-position.ts b/packages/eslint-plugin/src/rules/generated/no-css-text-underline-position.ts new file mode 100644 index 0000000000..d0ab13f311 --- /dev/null +++ b/packages/eslint-plugin/src/rules/generated/no-css-text-underline-position.ts @@ -0,0 +1,7 @@ +import { createNoStylePropertyRule } from "../../utils/create-no-style-property-rule"; + +export default createNoStylePropertyRule( + "text-underline-position", + 32.95454545454545, + "https://www.caniemail.com/features/css-text-underline-position/", +); diff --git a/packages/eslint-plugin/src/rules/generated/no-html-abbr.ts b/packages/eslint-plugin/src/rules/generated/no-html-abbr.ts index 9ec04e37b5..71038a6e3f 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-abbr.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-abbr.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "abbr", 56.875, "https://www.caniemail.com/features/html-abbr/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-anchor-links.ts b/packages/eslint-plugin/src/rules/generated/no-html-anchor-links.ts index 30e0958016..7fe71c3c59 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-anchor-links.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-anchor-links.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "anchor-links", 54.59183673469388, "https://www.caniemail.com/features/html-anchor-links/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-aria-describedby.ts b/packages/eslint-plugin/src/rules/generated/no-html-aria-describedby.ts index b5f7858f51..5e3fc5ea5e 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-aria-describedby.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-aria-describedby.ts @@ -1,7 +1,7 @@ import { createNoHTMLAttributeRule } from "../../utils/create-no-html-attribute-rule"; export default createNoHTMLAttributeRule( - "aria-describedby", + "aria-describedby" , 41.30434782608695, "https://www.caniemail.com/features/html-aria-describedby/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-aria-hidden.ts b/packages/eslint-plugin/src/rules/generated/no-html-aria-hidden.ts index 286b50fcd7..71cc9a5ddf 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-aria-hidden.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-aria-hidden.ts @@ -1,7 +1,7 @@ import { createNoHTMLAttributeRule } from "../../utils/create-no-html-attribute-rule"; export default createNoHTMLAttributeRule( - "aria-hidden", + "aria-hidden" , 67.3913043478261, "https://www.caniemail.com/features/html-aria-hidden/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-aria-label.ts b/packages/eslint-plugin/src/rules/generated/no-html-aria-label.ts index 80541f53c7..11b046ea32 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-aria-label.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-aria-label.ts @@ -1,7 +1,7 @@ import { createNoHTMLAttributeRule } from "../../utils/create-no-html-attribute-rule"; export default createNoHTMLAttributeRule( - "aria-label", + "aria-label" , 67.3913043478261, "https://www.caniemail.com/features/html-aria-label/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-aria-labelledby.ts b/packages/eslint-plugin/src/rules/generated/no-html-aria-labelledby.ts index 0fd7f79b3c..1c74f8be76 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-aria-labelledby.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-aria-labelledby.ts @@ -1,7 +1,7 @@ import { createNoHTMLAttributeRule } from "../../utils/create-no-html-attribute-rule"; export default createNoHTMLAttributeRule( - "aria-labelledby", + "aria-labelledby" , 46, "https://www.caniemail.com/features/html-aria-labelledby/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-aria-live.ts b/packages/eslint-plugin/src/rules/generated/no-html-aria-live.ts index 701c41df54..a6fcdf4646 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-aria-live.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-aria-live.ts @@ -1,7 +1,7 @@ import { createNoHTMLAttributeRule } from "../../utils/create-no-html-attribute-rule"; export default createNoHTMLAttributeRule( - "aria-live", + "aria-live" , 55.434782608695656, "https://www.caniemail.com/features/html-aria-live/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-audio.ts b/packages/eslint-plugin/src/rules/generated/no-html-audio.ts index 5746de9280..72557c3610 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-audio.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-audio.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "audio", 31.57894736842105, "https://www.caniemail.com/features/html-audio/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-base.ts b/packages/eslint-plugin/src/rules/generated/no-html-base.ts index 18cdaf8507..3f7724af17 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-base.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-base.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "base", 39.67391304347826, "https://www.caniemail.com/features/html-base/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-bdi.ts b/packages/eslint-plugin/src/rules/generated/no-html-bdi.ts index 40f78698a6..a5758fd829 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-bdi.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-bdi.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "bdi", 39.130434782608695, "https://www.caniemail.com/features/html-bdi/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-body.ts b/packages/eslint-plugin/src/rules/generated/no-html-body.ts index 1675aef940..1747e3effe 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-body.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-body.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "body", 54.44444444444444, "https://www.caniemail.com/features/html-body/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-button-reset.ts b/packages/eslint-plugin/src/rules/generated/no-html-button-reset.ts index 1eb2a94473..2cb15e21d9 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-button-reset.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-button-reset.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "button-reset", 54.807692307692314, "https://www.caniemail.com/features/html-button-reset/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-button-submit.ts b/packages/eslint-plugin/src/rules/generated/no-html-button-submit.ts index 7e81914bf8..534eb92d98 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-button-submit.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-button-submit.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "button-submit", 59.61538461538461, "https://www.caniemail.com/features/html-button-submit/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-dfn.ts b/packages/eslint-plugin/src/rules/generated/no-html-dfn.ts index c139a08326..7c379cd219 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-dfn.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-dfn.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "dfn", 64.375, "https://www.caniemail.com/features/html-dfn/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-dialog.ts b/packages/eslint-plugin/src/rules/generated/no-html-dialog.ts index 14cd297ad2..88e1986584 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-dialog.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-dialog.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "dialog", 34.78260869565217, "https://www.caniemail.com/features/html-dialog/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-doctype.ts b/packages/eslint-plugin/src/rules/generated/no-html-doctype.ts index 4693377f01..dd38e64310 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-doctype.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-doctype.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "doctype", 67.64705882352942, "https://www.caniemail.com/features/html-doctype/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-form.ts b/packages/eslint-plugin/src/rules/generated/no-html-form.ts index 9767222d52..a8d4e46d8a 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-form.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-form.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "form", 43.39622641509434, "https://www.caniemail.com/features/html-form/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-input-checkbox.ts b/packages/eslint-plugin/src/rules/generated/no-html-input-checkbox.ts index 008171a7d1..5451772a33 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-input-checkbox.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-input-checkbox.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "input-checkbox", 52.77777777777778, "https://www.caniemail.com/features/html-input-checkbox/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-input-hidden.ts b/packages/eslint-plugin/src/rules/generated/no-html-input-hidden.ts index 5aff85637c..5f9c24dbfa 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-input-hidden.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-input-hidden.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "input-hidden", 52.77777777777778, "https://www.caniemail.com/features/html-input-hidden/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-input-radio.ts b/packages/eslint-plugin/src/rules/generated/no-html-input-radio.ts index 887ae5f9cc..df7da143a7 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-input-radio.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-input-radio.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "input-radio", 52.77777777777778, "https://www.caniemail.com/features/html-input-radio/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-input-reset.ts b/packages/eslint-plugin/src/rules/generated/no-html-input-reset.ts index 792af4a2f4..2fd3dfcb0e 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-input-reset.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-input-reset.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "input-reset", 51.85185185185185, "https://www.caniemail.com/features/html-input-reset/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-input-submit.ts b/packages/eslint-plugin/src/rules/generated/no-html-input-submit.ts index 2ecbc89164..1e6ac8c774 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-input-submit.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-input-submit.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "input-submit", 45.370370370370374, "https://www.caniemail.com/features/html-input-submit/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-input-text.ts b/packages/eslint-plugin/src/rules/generated/no-html-input-text.ts index c2ed754af5..5bb50eb879 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-input-text.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-input-text.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "input-text", 46.36363636363636, "https://www.caniemail.com/features/html-input-text/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-lang.ts b/packages/eslint-plugin/src/rules/generated/no-html-lang.ts index 90b0d7dcac..e8c69f4665 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-lang.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-lang.ts @@ -1,7 +1,7 @@ import { createNoHTMLAttributeRule } from "../../utils/create-no-html-attribute-rule"; export default createNoHTMLAttributeRule( - "lang", + "lang" , 69.89795918367348, "https://www.caniemail.com/features/html-lang/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-link.ts b/packages/eslint-plugin/src/rules/generated/no-html-link.ts index 6e4dbd4c9f..356fef04cf 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-link.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-link.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "link", 31.914893617021278, "https://www.caniemail.com/features/html-link/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-loading-attribute.ts b/packages/eslint-plugin/src/rules/generated/no-html-loading-attribute.ts index 9e0eeb519b..0dce2637dd 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-loading-attribute.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-loading-attribute.ts @@ -1,7 +1,7 @@ import { createNoHTMLAttributeRule } from "../../utils/create-no-html-attribute-rule"; export default createNoHTMLAttributeRule( - "loading-attribute", + "loading-attribute" , 30.208333333333332, "https://www.caniemail.com/features/html-loading-attribute/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-marquee.ts b/packages/eslint-plugin/src/rules/generated/no-html-marquee.ts index 541a70b447..774d6b4464 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-marquee.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-marquee.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "marquee", 58.490566037735846, "https://www.caniemail.com/features/html-marquee/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-meta-color-scheme.ts b/packages/eslint-plugin/src/rules/generated/no-html-meta-color-scheme.ts new file mode 100644 index 0000000000..50449bcdac --- /dev/null +++ b/packages/eslint-plugin/src/rules/generated/no-html-meta-color-scheme.ts @@ -0,0 +1,7 @@ +import { createNoHTMLElementRule } from "../../utils/create-no-html-element-rule"; + +export default createNoHTMLElementRule( + "meta-color-scheme", + 13.586956521739129, + "https://www.caniemail.com/features/html-meta-color-scheme/", +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-meter.ts b/packages/eslint-plugin/src/rules/generated/no-html-meter.ts index 7ed8484b9e..0d71e87758 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-meter.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-meter.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "meter", 46.73913043478261, "https://www.caniemail.com/features/html-meter/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-object.ts b/packages/eslint-plugin/src/rules/generated/no-html-object.ts index 2318093ee1..b840591a6f 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-object.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-object.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "object", 9.574468085106384, "https://www.caniemail.com/features/html-object/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-picture.ts b/packages/eslint-plugin/src/rules/generated/no-html-picture.ts index be70662022..ac3eab77b4 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-picture.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-picture.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "picture", 32, "https://www.caniemail.com/features/html-picture/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-popover.ts b/packages/eslint-plugin/src/rules/generated/no-html-popover.ts new file mode 100644 index 0000000000..b62884963c --- /dev/null +++ b/packages/eslint-plugin/src/rules/generated/no-html-popover.ts @@ -0,0 +1,7 @@ +import { createNoHTMLAttributeRule } from "../../utils/create-no-html-attribute-rule"; + +export default createNoHTMLAttributeRule( + "popover" , + 20.652173913043477, + "https://www.caniemail.com/features/html-popover/", +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-progress.ts b/packages/eslint-plugin/src/rules/generated/no-html-progress.ts index a239b03060..44682a1486 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-progress.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-progress.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "progress", 40.21739130434783, "https://www.caniemail.com/features/html-progress/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-required.ts b/packages/eslint-plugin/src/rules/generated/no-html-required.ts index 8c24c78d7b..4b82213b9c 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-required.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-required.ts @@ -1,7 +1,7 @@ import { createNoHTMLAttributeRule } from "../../utils/create-no-html-attribute-rule"; export default createNoHTMLAttributeRule( - "required", + "required" , 37.5, "https://www.caniemail.com/features/html-required/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-role.ts b/packages/eslint-plugin/src/rules/generated/no-html-role.ts index 25a948134d..d6a2c6d57d 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-role.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-role.ts @@ -1,7 +1,7 @@ import { createNoHTMLAttributeRule } from "../../utils/create-no-html-attribute-rule"; export default createNoHTMLAttributeRule( - "role", + "role" , 66.66666666666666, "https://www.caniemail.com/features/html-role/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-rp.ts b/packages/eslint-plugin/src/rules/generated/no-html-rp.ts index 74989d3c29..55e70e18bd 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-rp.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-rp.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "rp", 59.78260869565217, "https://www.caniemail.com/features/html-rp/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-rt.ts b/packages/eslint-plugin/src/rules/generated/no-html-rt.ts index 2a9b99934b..90cd4ec137 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-rt.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-rt.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "rt", 59.78260869565217, "https://www.caniemail.com/features/html-rt/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-ruby.ts b/packages/eslint-plugin/src/rules/generated/no-html-ruby.ts index 6fc0a466dd..c9a77e188a 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-ruby.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-ruby.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "ruby", 59.78260869565217, "https://www.caniemail.com/features/html-ruby/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-select.ts b/packages/eslint-plugin/src/rules/generated/no-html-select.ts index cf9f5b7205..5779f82ac0 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-select.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-select.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "select", 57.407407407407405, "https://www.caniemail.com/features/html-select/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-semantics.ts b/packages/eslint-plugin/src/rules/generated/no-html-semantics.ts index b279009ce3..a9a8bae3ab 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-semantics.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-semantics.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "semantics", 48.97959183673469, "https://www.caniemail.com/features/html-semantics/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-srcset.ts b/packages/eslint-plugin/src/rules/generated/no-html-srcset.ts index c82be12761..f69fa41ea5 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-srcset.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-srcset.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "srcset", 32.6530612244898, "https://www.caniemail.com/features/html-srcset/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-svg.ts b/packages/eslint-plugin/src/rules/generated/no-html-svg.ts index 34bcbc1975..fea0ec8f3e 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-svg.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-svg.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "svg", 37.234042553191486, "https://www.caniemail.com/features/html-svg/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-target.ts b/packages/eslint-plugin/src/rules/generated/no-html-target.ts index b1921861b1..3f69e0f563 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-target.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-target.ts @@ -1,7 +1,7 @@ import { createNoHTMLAttributeRule } from "../../utils/create-no-html-attribute-rule"; export default createNoHTMLAttributeRule( - "target", + "target" , 17.77777777777778, "https://www.caniemail.com/features/html-target/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-textarea.ts b/packages/eslint-plugin/src/rules/generated/no-html-textarea.ts index edcfb09059..8804ff6504 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-textarea.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-textarea.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "textarea", 54.54545454545454, "https://www.caniemail.com/features/html-textarea/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-video.ts b/packages/eslint-plugin/src/rules/generated/no-html-video.ts index f7f38fdc68..0ebab93707 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-video.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-video.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "video", 25.961538461538463, "https://www.caniemail.com/features/html-video/", -); +) \ No newline at end of file diff --git a/packages/eslint-plugin/src/rules/generated/no-html-wbr.ts b/packages/eslint-plugin/src/rules/generated/no-html-wbr.ts index cb1fde7c9e..cf9f4fba12 100644 --- a/packages/eslint-plugin/src/rules/generated/no-html-wbr.ts +++ b/packages/eslint-plugin/src/rules/generated/no-html-wbr.ts @@ -4,4 +4,4 @@ export default createNoHTMLElementRule( "wbr", 60.63829787234043, "https://www.caniemail.com/features/html-wbr/", -); +) \ No newline at end of file