Skip to content

Commit

Permalink
Disable tslint whitespace rule for FBT (DefinitelyTyped#65232)
Browse files Browse the repository at this point in the history
Looks like tslint doesn't understand `foo:bar` names for JSX tags.
  • Loading branch information
sandersn authored and Vicary A committed Jun 29, 2023
1 parent 481413a commit a1ddf50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/fbt/fbt-tests.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ const JSXSimpleExampleWithParams = (
Hello
</fbt>
);
/* tslint:disable:whitespace */
const JSXParamExample = (
<fbt desc="JSX Param example">
Hello, <fbt:param name="name">{person.getName()}</fbt:param>
Expand Down

0 comments on commit a1ddf50

Please sign in to comment.