ricardofbarros / linter-js-standard

Atom linter plugin for JavaScript, using JavaScript Standard Style
https://atom.io/packages/linter-js-standard
MIT License
99 stars 50 forks source link

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

Closed keul closed 7 years ago

keul commented 7 years ago

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 commented 7 years ago

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

ricardofbarros commented 7 years ago

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

kingram6865 commented 3 years ago

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

How would that be done?