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

Allow jsx info strings #19

Closed
IanVS opened this issue Sep 20, 2015 · 1 comment
Closed

Allow jsx info strings #19

IanVS opened this issue Sep 20, 2015 · 1 comment

Comments

@IanVS
Copy link
Member

IanVS commented Sep 20, 2015

The code blocks in jsx-quotes would be better expressed as jsx rather than js

js:

<a b='c' />

jsx:

<a b='c' />

But this would require supporting jsx info strings in this plugin. Ideally, would the pre-processor also be able to add the jsx ecmaFeature? Otherwise, linting of these will need to wait until eslint/eslint#3698.

@btmills
Copy link
Member

btmills commented Sep 20, 2015

I don't think it's possible for a preprocessor to alter configuration, so let's wait for the comment there. However, we can definitely add jsx to the list of info strings.

@btmills btmills closed this as completed in e153fd4 Dec 1, 2015
btmills added a commit that referenced this issue Dec 1, 2015
Update: Support jsx code fences (fixes #19)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants