Skip to content
New issue

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

Printing Node value to the report #2007

Closed
jlgonzalezdev opened this issue Oct 5, 2018 · 1 comment
Closed

Printing Node value to the report #2007

jlgonzalezdev opened this issue Oct 5, 2018 · 1 comment

Comments

@jlgonzalezdev
Copy link
Contributor

Hi guys, this is not a bug, is more like a new feature that I needed for a project I'm working on.

Basically I needed to detect and print to the report the hardcoded text found in a bunch of JSX templates so I did some tweaks to the jsx-no-literals rule to be able to print the node value.

I'm just leaving this here in case somebody else might need something like that, I'll be creating a PR for this. :)

@jlgonzalezdev
Copy link
Contributor Author

jlgonzalezdev commented Oct 5, 2018

PR: #2008

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant