mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
6f0fbceaf2
Previously the CLI was incorrectly reporting `React` as unused in a JSX file that uses the "old" transform. The LSP was already handling this correctly.
12 lines
298 B
Text
12 lines
298 B
Text
error[no-unused-vars]: `React` is never used
|
|
--> [WILDCARD]mod.tsx:1:7
|
|
|
|
|
1 | const React = { createElement() {} };
|
|
| ^^^^^
|
|
= hint: If this is intentional, prefix it with an underscore like `_React`
|
|
|
|
docs: https://lint.deno.land/rules/no-unused-vars
|
|
|
|
|
|
Found 1 problem
|
|
Checked 1 file
|