@flint.fyi/jsx 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/lib/plugin.d.ts +177 -177
  2. package/lib/rules/accessKeys.d.ts +4 -4
  3. package/lib/rules/accessKeys.js +1 -1
  4. package/lib/rules/altTexts.d.ts +4 -4
  5. package/lib/rules/altTexts.js +1 -1
  6. package/lib/rules/anchorAmbiguousText.d.ts +4 -4
  7. package/lib/rules/anchorAmbiguousText.js +1 -1
  8. package/lib/rules/anchorContent.d.ts +4 -4
  9. package/lib/rules/anchorContent.js +1 -1
  10. package/lib/rules/anchorValidity.d.ts +4 -4
  11. package/lib/rules/anchorValidity.js +1 -1
  12. package/lib/rules/ariaActiveDescendantTabIndex.d.ts +4 -4
  13. package/lib/rules/ariaActiveDescendantTabIndex.js +1 -1
  14. package/lib/rules/ariaHiddenFocusables.d.ts +4 -4
  15. package/lib/rules/ariaHiddenFocusables.js +1 -1
  16. package/lib/rules/ariaPropTypes.d.ts +4 -4
  17. package/lib/rules/ariaPropTypes.js +1 -1
  18. package/lib/rules/ariaProps.d.ts +4 -4
  19. package/lib/rules/ariaProps.js +1 -1
  20. package/lib/rules/ariaRoleValidity.d.ts +4 -4
  21. package/lib/rules/ariaRoleValidity.js +1 -1
  22. package/lib/rules/ariaUnsupportedElements.d.ts +4 -4
  23. package/lib/rules/ariaUnsupportedElements.js +1 -1
  24. package/lib/rules/autoFocusProps.d.ts +4 -4
  25. package/lib/rules/autoFocusProps.js +1 -1
  26. package/lib/rules/autocomplete.d.ts +4 -4
  27. package/lib/rules/autocomplete.js +1 -1
  28. package/lib/rules/booleanValues.d.ts +4 -4
  29. package/lib/rules/booleanValues.js +1 -1
  30. package/lib/rules/bracedStatements.d.ts +4 -4
  31. package/lib/rules/bracedStatements.js +1 -1
  32. package/lib/rules/buttonTypes.d.ts +4 -4
  33. package/lib/rules/buttonTypes.js +1 -1
  34. package/lib/rules/childrenProps.d.ts +4 -4
  35. package/lib/rules/childrenProps.js +1 -1
  36. package/lib/rules/clickEventKeyEvents.d.ts +4 -4
  37. package/lib/rules/clickEventKeyEvents.js +1 -1
  38. package/lib/rules/commentTextNodes.d.ts +4 -4
  39. package/lib/rules/distractingElements.d.ts +4 -4
  40. package/lib/rules/distractingElements.js +1 -1
  41. package/lib/rules/elementChildrenValidity.d.ts +4 -4
  42. package/lib/rules/elementChildrenValidity.js +1 -1
  43. package/lib/rules/headingContents.d.ts +4 -4
  44. package/lib/rules/headingContents.js +1 -1
  45. package/lib/rules/htmlLangs.d.ts +4 -4
  46. package/lib/rules/htmlLangs.js +1 -1
  47. package/lib/rules/iframeTitles.d.ts +4 -4
  48. package/lib/rules/iframeTitles.js +1 -1
  49. package/lib/rules/interactiveElementRoles.d.ts +4 -4
  50. package/lib/rules/interactiveElementRoles.js +1 -1
  51. package/lib/rules/interactiveElementsFocusable.d.ts +4 -4
  52. package/lib/rules/interactiveElementsFocusable.js +1 -1
  53. package/lib/rules/labelAssociatedControls.d.ts +4 -4
  54. package/lib/rules/labelAssociatedControls.js +1 -1
  55. package/lib/rules/langValidity.d.ts +4 -4
  56. package/lib/rules/langValidity.js +1 -1
  57. package/lib/rules/mediaCaptions.d.ts +4 -4
  58. package/lib/rules/mediaCaptions.js +1 -1
  59. package/lib/rules/mouseEventKeyEvents.d.ts +4 -4
  60. package/lib/rules/mouseEventKeyEvents.js +1 -1
  61. package/lib/rules/nonInteractiveElementInteractions.d.ts +4 -4
  62. package/lib/rules/nonInteractiveElementInteractions.js +1 -1
  63. package/lib/rules/nonInteractiveElementRoles.d.ts +4 -4
  64. package/lib/rules/nonInteractiveElementRoles.js +1 -1
  65. package/lib/rules/nonInteractiveElementTabIndexes.d.ts +4 -4
  66. package/lib/rules/nonInteractiveElementTabIndexes.js +1 -1
  67. package/lib/rules/propDuplicates.d.ts +4 -4
  68. package/lib/rules/propDuplicates.js +1 -1
  69. package/lib/rules/roleRedundancies.d.ts +4 -4
  70. package/lib/rules/roleRedundancies.js +1 -1
  71. package/lib/rules/roleRequiredAriaProps.d.ts +4 -4
  72. package/lib/rules/roleRequiredAriaProps.js +1 -1
  73. package/lib/rules/roleSupportedAriaProps.d.ts +4 -4
  74. package/lib/rules/roleSupportedAriaProps.js +1 -1
  75. package/lib/rules/roleTags.d.ts +4 -4
  76. package/lib/rules/roleTags.js +1 -1
  77. package/lib/rules/ruleCreator.d.ts +1 -1
  78. package/lib/rules/scopeProps.d.ts +4 -4
  79. package/lib/rules/scopeProps.js +1 -1
  80. package/lib/rules/staticElementInteractions.d.ts +4 -4
  81. package/lib/rules/staticElementInteractions.js +1 -1
  82. package/lib/rules/svgTitles.d.ts +4 -4
  83. package/lib/rules/svgTitles.js +1 -1
  84. package/lib/rules/tabIndexPositiveValues.d.ts +4 -4
  85. package/lib/rules/tabIndexPositiveValues.js +1 -1
  86. package/lib/rules/unescapedEntities.d.ts +4 -4
  87. package/lib/rules/unnecessaryFragments.d.ts +4 -4
  88. package/lib/rules/unnecessaryFragments.js +1 -1
  89. package/package.json +7 -7
@@ -1,6 +1,6 @@
1
1
  import { ruleCreator } from "./ruleCreator.js";
2
- import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
3
2
  import { SyntaxKind } from "typescript";
3
+ import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
4
4
  //#region src/rules/mouseEventKeyEvents.ts
5
5
  const mouseNamesToKeyboardNames = new Map([["onMouseOut", "onBlur"], ["onMouseOver", "onFocus"]]);
6
6
  var mouseEventKeyEvents_default = ruleCreator.createRule(typescriptLanguage, {
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports non-interactive elements with interactive event handlers.";
3
3
  readonly id: "nonInteractiveElementInteractions";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("logical" | "logicalStrict" | "stylistic")[];
7
- url: string;
8
- }, object, object, "invalidHandler", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "invalidHandler", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=nonInteractiveElementInteractions.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { ruleCreator } from "./ruleCreator.js";
2
- import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
3
2
  import { SyntaxKind } from "typescript";
3
+ import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
4
4
  //#region src/rules/nonInteractiveElementInteractions.ts
5
5
  const interactiveHandlers = [
6
6
  "onClick",
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports non-interactive elements with interactive ARIA roles.";
3
3
  readonly id: "nonInteractiveElementRoles";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("logical" | "logicalStrict" | "stylistic")[];
7
- url: string;
8
- }, object, object, "invalidRole", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "invalidRole", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=nonInteractiveElementRoles.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { ruleCreator } from "./ruleCreator.js";
2
- import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
3
2
  import { SyntaxKind } from "typescript";
3
+ import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
4
4
  //#region src/rules/nonInteractiveElementRoles.ts
5
5
  const nonInteractiveElements = new Set([
6
6
  "article",
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports non-interactive elements with positive or zero tabIndex values.";
3
3
  readonly id: "nonInteractiveElementTabIndexes";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("logical" | "logicalStrict" | "stylistic")[];
7
- url: string;
8
- }, object, object, "nonInteractiveTabIndex", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "nonInteractiveTabIndex", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=nonInteractiveElementTabIndexes.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { ruleCreator } from "./ruleCreator.js";
2
- import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
3
2
  import { SyntaxKind } from "typescript";
3
+ import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
4
4
  //#region src/rules/nonInteractiveElementTabIndexes.ts
5
5
  const nonInteractiveElements = new Set([
6
6
  "article",
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Disallow duplicate props in JSX elements.";
3
3
  readonly id: "propDuplicates";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("logical" | "logicalStrict" | "stylistic")[];
7
- url: string;
8
- }, object, object, "duplicateProp", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "duplicateProp", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=propDuplicates.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { ruleCreator } from "./ruleCreator.js";
2
- import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
3
2
  import { SyntaxKind } from "typescript";
3
+ import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
4
4
  //#region src/rules/propDuplicates.ts
5
5
  var propDuplicates_default = ruleCreator.createRule(typescriptLanguage, {
6
6
  about: {
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports redundant ARIA roles on elements with implicit roles.";
3
3
  readonly id: "roleRedundancies";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("logical" | "logicalStrict" | "stylistic")[];
7
- url: string;
8
- }, object, object, "redundantRole", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "redundantRole", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=roleRedundancies.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { ruleCreator } from "./ruleCreator.js";
2
- import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
3
2
  import { SyntaxKind } from "typescript";
3
+ import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
4
4
  //#region src/rules/roleRedundancies.ts
5
5
  const implicitRoles = {
6
6
  a: "link",
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports ARIA roles missing their required ARIA properties.";
3
3
  readonly id: "roleRequiredAriaProps";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("logical" | "logicalStrict" | "stylistic")[];
7
- url: string;
8
- }, object, object, "missingRequiredProps", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "missingRequiredProps", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=roleRequiredAriaProps.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { ruleCreator } from "./ruleCreator.js";
2
- import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
3
2
  import { SyntaxKind } from "typescript";
3
+ import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
4
4
  //#region src/rules/roleRequiredAriaProps.ts
5
5
  const requiredAriaPropsForRole = {
6
6
  checkbox: ["aria-checked"],
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports ARIA properties that are not supported by an element's role.";
3
3
  readonly id: "roleSupportedAriaProps";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("logical" | "logicalStrict" | "stylistic")[];
7
- url: string;
8
- }, object, object, "unsupportedProp", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "unsupportedProp", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=roleSupportedAriaProps.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { ruleCreator } from "./ruleCreator.js";
2
- import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
3
2
  import { SyntaxKind } from "typescript";
3
+ import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
4
4
  //#region src/rules/roleSupportedAriaProps.ts
5
5
  const globalAriaProperties = new Set([
6
6
  "aria-atomic",
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports ARIA roles that have semantic HTML element equivalents.";
3
3
  readonly id: "roleTags";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("logical" | "logicalStrict" | "stylistic")[];
7
- url: string;
8
- }, object, object, "preferSemanticElement", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "preferSemanticElement", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=roleTags.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { ruleCreator } from "./ruleCreator.js";
2
- import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
3
2
  import { SyntaxKind } from "typescript";
3
+ import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
4
4
  //#region src/rules/roleTags.ts
5
5
  const roleToElement = {
6
6
  article: "article",
@@ -1,3 +1,3 @@
1
1
  import { RuleCreator } from "@flint.fyi/core";
2
- export declare const ruleCreator: RuleCreator<"logical" | "logicalStrict" | "stylistic">;
2
+ export declare const ruleCreator: RuleCreator<"logical" | "logicalStrict" | "stylistic", import("@flint.fyi/core").RuleAbout<"logical" | "logicalStrict" | "stylistic">>;
3
3
  //# sourceMappingURL=ruleCreator.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports scope props on non-th elements.";
3
3
  readonly id: "scopeProps";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("logical" | "logicalStrict" | "stylistic")[];
7
- url: string;
8
- }, object, object, "invalidScope", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "invalidScope", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=scopeProps.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { ruleCreator } from "./ruleCreator.js";
2
- import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
3
2
  import { SyntaxKind } from "typescript";
3
+ import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
4
4
  //#region src/rules/scopeProps.ts
5
5
  var scopeProps_default = ruleCreator.createRule(typescriptLanguage, {
6
6
  about: {
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports static elements with event handlers that lack ARIA roles.";
3
3
  readonly id: "staticElementInteractions";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("logical" | "logicalStrict" | "stylistic")[];
7
- url: string;
8
- }, object, object, "missingRole", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "missingRole", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=staticElementInteractions.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { ruleCreator } from "./ruleCreator.js";
2
- import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
3
2
  import { SyntaxKind } from "typescript";
3
+ import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
4
4
  //#region src/rules/staticElementInteractions.ts
5
5
  const interactiveHandlers = [
6
6
  "onClick",
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports <svg> elements without a <title> child element.";
3
3
  readonly id: "svgTitles";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("logical" | "logicalStrict" | "stylistic")[];
7
- url: string;
8
- }, object, object, "missingTitle", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "missingTitle", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=svgTitles.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { ruleCreator } from "./ruleCreator.js";
2
- import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
3
2
  import { SyntaxKind } from "typescript";
3
+ import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
4
4
  //#region src/rules/svgTitles.ts
5
5
  var svgTitles_default = ruleCreator.createRule(typescriptLanguage, {
6
6
  about: {
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports positive tabIndex values.";
3
3
  readonly id: "tabIndexPositiveValues";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("logical" | "logicalStrict" | "stylistic")[];
7
- url: string;
8
- }, object, object, "noPositiveTabIndex", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "noPositiveTabIndex", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=tabIndexPositiveValues.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { ruleCreator } from "./ruleCreator.js";
2
- import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
3
2
  import { SyntaxKind } from "typescript";
3
+ import { getTSNodeRange, typescriptLanguage } from "@flint.fyi/typescript-language";
4
4
  //#region src/rules/tabIndexPositiveValues.ts
5
5
  var tabIndexPositiveValues_default = ruleCreator.createRule(typescriptLanguage, {
6
6
  about: {
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Disallow unescaped HTML entities in JSX text that may cause rendering issues.";
3
3
  readonly id: "unescapedEntities";
4
- readonly presets: ["stylistic"];
4
+ readonly presets: readonly ["stylistic"];
5
5
  } & {
6
- presets?: ("logical" | "logicalStrict" | "stylistic")[];
7
- url: string;
8
- }, object, object, "unescapedEntity", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "unescapedEntity", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=unescapedEntities.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Disallow unnecessary JSX fragments that wrap a single child or have no children.";
3
3
  readonly id: "unnecessaryFragments";
4
- readonly presets: ["stylistic"];
4
+ readonly presets: readonly ["stylistic"];
5
5
  } & {
6
- presets?: ("logical" | "logicalStrict" | "stylistic")[];
7
- url: string;
8
- }, object, object, "unnecessaryFragment", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "unnecessaryFragment", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=unnecessaryFragments.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { ruleCreator } from "./ruleCreator.js";
2
- import { typescriptLanguage } from "@flint.fyi/typescript-language";
3
2
  import { SyntaxKind } from "typescript";
3
+ import { typescriptLanguage } from "@flint.fyi/typescript-language";
4
4
  //#region src/rules/unnecessaryFragments.ts
5
5
  var unnecessaryFragments_default = ruleCreator.createRule(typescriptLanguage, {
6
6
  about: {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@flint.fyi/jsx",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "[Experimental] A Flint plugin for JSX code.",
5
- "homepage": "https://www.flint.fyi/rules/jsx",
5
+ "homepage": "https://flint.fyi/rules/jsx",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/flint-fyi/flint.git",
@@ -10,8 +10,8 @@
10
10
  },
11
11
  "license": "MIT",
12
12
  "author": {
13
- "name": "JoshuaKGoldberg",
14
- "email": "npm@joshuakgoldberg.com"
13
+ "name": "Flint Team",
14
+ "url": "https://flint.fyi/team"
15
15
  },
16
16
  "sideEffects": false,
17
17
  "type": "module",
@@ -25,15 +25,15 @@
25
25
  "dependencies": {
26
26
  "language-tags": "^2.1.0",
27
27
  "typescript": "^5.9.3 || ^6.0.0",
28
- "@flint.fyi/core": "^0.21.0",
28
+ "@flint.fyi/core": "^0.23.0",
29
29
  "@flint.fyi/utils": "^0.14.1",
30
- "@flint.fyi/typescript-language": "^0.18.0"
30
+ "@flint.fyi/typescript-language": "^0.18.3"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/language-tags": "1.0.4",
34
34
  "tsdown": "0.21.0",
35
35
  "vitest": "4.1.0",
36
- "@flint.fyi/rule-tester": "^0.16.1"
36
+ "@flint.fyi/rule-tester": "^0.16.4"
37
37
  },
38
38
  "engines": {
39
39
  "node": ">=24.0.0"