Skip to content

Commit 5bc1aac

Browse files
authored
feat: add relatedTo for jsx in TSConfig Reference (#1105)
- jsxFactory and jsxFragmentFactory are relatedTo each other, so would think jsx itself should be as well
1 parent f0a7ed2 commit 5bc1aac

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/tsconfig-reference/scripts/tsconfigRules.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,9 @@ export const relatedTo: [AnOption, AnOption[]][] = [
9696
["moduleResolution", ["module"]],
9797
["module", ["moduleResolution"]],
9898

99-
["jsxFactory", ["jsxFragmentFactory"]],
100-
["jsxFragmentFactory", ["jsxFactory"]],
99+
["jsx", ["jsxFactory", "jsxFragmentFactory"]],
100+
["jsxFactory", ["jsx", "jsxFragmentFactory"]],
101+
["jsxFragmentFactory", ["jsx", "jsxFactory"]],
101102
];
102103

103104
/**

0 commit comments

Comments
 (0)