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

Unexpected usage of doublequote. (jsx-quotes) #156

Closed
keul opened this issue Dec 13, 2016 · 3 comments
Closed

Unexpected usage of doublequote. (jsx-quotes) #156

keul opened this issue Dec 13, 2016 · 3 comments

Comments

@keul
Copy link

keul commented Dec 13, 2016

On a jxs formatted source I get the warning in the subject on a code like this ones:

<div className="clearfix content-wrapper">

As single/double quotes on JSX is very opinionated, there's a way to change this default to doublequote or at least read the .eslintrc settings?

@LinusU
Copy link

LinusU commented Jan 19, 2017

The whole idea with standard is that nothing is configurable, so there is currently no way to change this.

@ricardofbarros
Copy link
Owner

Pretty much what @LinusU said. You could disable the rules of eslint for that specific line or block, though.

@kingram6865
Copy link

Pretty much what @LinusU said. You could disable the rules of eslint for that specific line or block, though.

How would that be done?

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

4 participants