Closed BVJeon closed 6 years ago
JSHint can't parse JSX syntax, but the extension is running JSHint on the entire file, so it is erroring on the JSX syntax. This is a bug that isn't easy to fix, but as a workaround for now you could use /* jshint ignore:start */
and */ jshint ignore:end */
above and below the render method.
type Props = {};
looks like Typescript to me, should this be a .tsx
file?
This file is React-Native example file and "*.js/javascriptreact".
I see. I will use /* jshint ignore:start */
and */ jshint ignore:end */
above and below the render method.
type Props = {};
Let's find another solution to this.
Thank you so much for answering. :) Have a nice day~~~
And although there is still a bug(*JSX Parsing bug) left, I will close this issue.
OMG... Help me please.
I use React-Native with JSHint But! See error. I did Google search. Through the setup, the grammar of es was also applied. But there is an error.
Issues found : https://github.com/Microsoft/vscode-jshint/issues/29