We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use spacemacs write the reactjs and jsx but there is a incorrect warning in some lines. it seem like the photo
i shut down the js2-mode lint by using customize-group
'(Js2-Highlight-External-variables nil) '(js2-include-jslint-globals nil) '(js2-instanceof-has-side-effects t) '(js2-mode-show-parse-errors nil) '(js2-strict-inconsistent-return-warning nil) '(js2-strict-missing-semi-warning nil) '(js2-strict-trailing-comma-warning nil)
but it is not working, so how can i fix it ? and the second question is that jsx highlight is weak, how to enhance it ?
((ranger :variables ranger-show-preview t) (colors :variables colors-enable-nyan-cat-progress-bar t) react javascript php auto-completion better-defaults emacs-lisp git (shell :variables shell-default-height 30 shell-default-position 'bottom) syntax-checking)
The text was updated successfully, but these errors were encountered:
have a look at #5848 to only use eslint with react layer.
for the jsx highlight I've noticed huge differences among different themes. I'm using solarized-dark and it looks nice.
Sorry, something went wrong.
@axyz sigh...never thought that themes impact the highlight. thanks. I have a try.
by the way , how about the warning ---- 'Code has no side effects', how to shut it down?
whew found it @alexsunxl, this should shut them all down:
(setq js2-mode-show-strict-warnings nil)
Closing this issue for lack of activity. And looks like it's mostly answered. Let me know if you wish to resurrect it! 😸
No branches or pull requests
Description
I use spacemacs write the reactjs and jsx
![](https://camo.githubusercontent.com/c1325dbac19ffff3b8c1d5418ba92609c21a7f3d15a72278a5a49d5efca74ed8/687474703a2f2f37786a39646f2e636f6d312e7a302e676c622e636c6f7564646e2e636f6d2f6769746875622f3132312e6a7067)
but there is a incorrect warning in some lines.
it seem like the photo
i shut down the js2-mode lint by using customize-group
but it is not working, so how can i fix it ?
and the second question is that jsx highlight is weak, how to enhance it ?
System Info
The text was updated successfully, but these errors were encountered: