Skip to content

Commit

Permalink
feat: add relatedTo for jsx in TSConfig Reference (#1105)
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 authored Sep 18, 2020
1 parent f0a7ed2 commit 5bc1aac
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 @@ -96,8 +96,9 @@ export const relatedTo: [AnOption, AnOption[]][] = [
["moduleResolution", ["module"]],
["module", ["moduleResolution"]],

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

/**
Expand Down

0 comments on commit 5bc1aac

Please sign in to comment.