Coder Social home page Coder Social logo

stylelint-config-suitcss's Issues

Release stylelint 7.0 compatible config

@simonsmith I'm going to prepare a 7.0 compatible release for you :)

I know it feels like stylelint releases are coming thick and fast, but it's been 4 months since the last major release.

This new release is significant in that a lot of work has gone into making the linter more sustainable i.e. putting in place systems to empower the community to build plugins and processors, rather than have these volatile features in the core. Hopefully this will slow down the pace of stylelint releases (especially major ones) even further. I think most of the contributors are looking forward to a little breather as well now that 7.0.0 is out of the door :)

Incorrectly flagging line breaks in media rulesets as error

This common pattern in many SUIT utils shows as an error:

@media (--sm-viewport) {
x <-- this line is an error
  .u-sm-afterNone {
    margin-left: 0 !important;
  }

}

I can fix it by setting:

    "rule-nested-empty-line-before": "always-multi-line"

@jeddy3 Before I change it just wanted to know if there is something I've missed as to why it had except: ["first-nested"]? Cheers

Move this repo to the SuitCSS org

@simonsmith We're freeing up the stylelint org to focus on stylelint as a tool rather than the configs. As such we intend to move the SuitCSS, Wordpress, and CSS Recipes configs out of the org. I thought the SuitCSS org would make a good home for this repo as you'll be using it to enforce the SuitCSS code style on the components. What do you think?

Remove deprecated rules

stylelint deprecated some rules recently, such as function-url-quotes. Could you kindly remove those in favor of the proposed solutions from stylelint output?

Update stylelint-suitcss and stylelint-order

stylelint-config-suitcss uses stylelint v8 in peer dependencies but the versions used for stylelint-suitcss and stylelint-order still use stylelint v7 which lead to multiple stylelint libraries (both v7 and v8) present in node_modules.

This causes problems in a project I'm working on with a big dependency chain.

Update the versions as follows

  • stylelint-suitcss : v2.0.0 (released after this PR)
  • stylelint-order : v0.8.0 v0.7.0 (v0.8 drops support for Node 4/5. Sticking to 0.7 to not have a breaking change).

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.