Giter VIP home page Giter VIP logo

Comments (8)

tleunen avatar tleunen commented on June 26, 2024

I usually use single quotes in JS but double quotes in html (and therefore JSX).

The default value is "double" so it should be ok.

from react-mdl.

faergeek avatar faergeek commented on June 26, 2024

No, it's not double, try to set double explicitly and lint sources.

from react-mdl.

faergeek avatar faergeek commented on June 26, 2024

I can submit PR for that too :-)

from react-mdl.

tleunen avatar tleunen commented on June 26, 2024

It's actually prefer-double ;)

from react-mdl.

faergeek avatar faergeek commented on June 26, 2024

In native, yes.

from react-mdl.

tleunen avatar tleunen commented on June 26, 2024

Do you mean we don't inherit from it because it's not part of the recommended eslint configuration?

from react-mdl.

faergeek avatar faergeek commented on June 26, 2024

I mean that in eslint-plugin-react there was no default value for that option, so I assume that rule didn't ever work.
But for native eslint option there's default value prefer-double.

from react-mdl.

tleunen avatar tleunen commented on June 26, 2024

Indeed we never used the rule from eslint-plugin-react. I didn't know it existed. Probably it has been added after I integrated it.
About the recommended eslint, we're using it then.

from react-mdl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.