Skip to content

Commit

Permalink
feat: add relatedTo for jsx in TSConfig Reference
Browse files Browse the repository at this point in the history
- jsxFactory and jsxFragmentFactory are relatedTo each other, so would
  think jsx itself should be as well
  • Loading branch information
agilgur5 committed Sep 17, 2020
1 parent cc7d024 commit 9e4a3ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/tsconfig-reference/scripts/tsconfigRules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ export const relatedTo: [AnOption, AnOption[]][] = [

["moduleResolution", ["module"]],

["jsxFactory", ["jsxFragmentFactory"]],
["jsxFragmentFactory", ["jsxFactory"]],
["jsx", ["jsxFactory", "jsxFragmentFactory"]],
["jsxFactory", ["jsx", "jsxFragmentFactory"]],
["jsxFragmentFactory", ["jsx", "jsxFactory"]],
];

/**
Expand Down

0 comments on commit 9e4a3ab

Please sign in to comment.