eslint-plugin-total-functions icon indicating copy to clipboard operation
eslint-plugin-total-functions copied to clipboard

TSX test cases

Open danielnixon opened this issue 4 years ago • 2 comments

... and any relaxation of the rules to allow safe usages required in response

danielnixon avatar Jun 11 '20 10:06 danielnixon

This should be considered "safe" for example:

const arr = ["a"]; const foo = <div className={arr[0]}>foo</div>;

danielnixon avatar Jun 12 '20 01:06 danielnixon

That example is no longer flagged as invalid (thanks to https://github.com/danielnixon/eslint-plugin-total-functions/commit/6d4c3e58459062c8641772026412e66c5bf9be3e) but we still want the TSX test case(s).

danielnixon avatar Jul 14 '20 01:07 danielnixon