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

(JS-0420) Prevent usage of string literals in JSX #11

Open
sylvanaar opened this issue Mar 27, 2021 · 0 comments
Open

(JS-0420) Prevent usage of string literals in JSX #11

sylvanaar opened this issue Mar 27, 2021 · 0 comments

Comments

@sylvanaar
Copy link
Owner

sylvanaar commented Mar 27, 2021

Description

There are a few scenarios where you want to avoid string literals in JSX. You may want to enforce consistency, reduce syntax highlighting issues, or ensure that strings are part of a translation system.

Example - The not-preferred way :

var Hello = <div>test</div> 

Occurrences

There are 2 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/sylvanaar/flipper-plugin-bridgespy/issue/JS-0420/occurrences/

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

No branches or pull requests

1 participant