Giter VIP home page Giter VIP logo

Comments (8)

unamaria avatar unamaria commented on August 20, 2024 1

Let's try 😄
stylelint (and eslint also?) doesn't have any rules enabled by default. Of course using the standard config would already add opinions, but since they are a) pretty universal and b) rules can be easily disabled it could be considered that adding stylelint promotes healthier code without forcing code style.

from drupal-decoupled-app.

fubhy avatar fubhy commented on August 20, 2024

Hey Maria! There is no CSS Lint in here. Are you refering to an older version of this maybe?

from drupal-decoupled-app.

unamaria avatar unamaria commented on August 20, 2024

Aha! I assumed so because of .csslintrc. In any case, are there any plans to use stylelint? 🙂

from drupal-decoupled-app.

fubhy avatar fubhy commented on August 20, 2024

That's due to the version of the Drupal backend we got running in here :). Not my file! I don't have any plans of stylelint in the repo so far. I added prettier which can also be configured for CSS files. I didn't want to add eslint/stylelint, etc. because I didn't want to impose any code style outside of what prettier defaults to. Maybe I would reconsider that. Do you have any compelling arguments for adding it to the starterkit by default?

from drupal-decoupled-app.

fubhy avatar fubhy commented on August 20, 2024

Okay. Let's try it then. We would have to make sure that there are no conflicts with prettier of course. Would you be up for submitting a pull request for that?

from drupal-decoupled-app.

unamaria avatar unamaria commented on August 20, 2024

Hey! I took a first stab with #412 :)

from drupal-decoupled-app.

fubhy avatar fubhy commented on August 20, 2024

Cool. Thanks! Wondering if we should also add eslint in that case :)

from drupal-decoupled-app.

unamaria avatar unamaria commented on August 20, 2024

Yay! Maybe? :)
Thank you!

from drupal-decoupled-app.

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.