Skip to content

Releases: Ultimaker/stylelint-config

v1.0.0-alpha.5

14 Oct 13:20
Compare
Choose a tag to compare
v1.0.0-alpha.5 Pre-release
Pre-release

Ultimaker designs uses several weights besides 'normal', that do
not nicely correspond with named weights in CSS. To keep CSS consistent
we will enforce numeric weight notation.

// good
.foo {
    font-weight: 400;
}

// good, "default" bold that Ultimaker designs use
.foo {
    font-weight: 500;
}

// bad, because inconsistent
.bar {
    font-weight: normal;
}

// worse, bold corresponds with a font weight of 700 that we do not have
.bar {
    font-weight: bold;
}

v1.0.0-alpha.4

14 Oct 13:20
Compare
Choose a tag to compare
v1.0.0-alpha.4 Pre-release
Pre-release

Change value-list-comma-space-after from "always" to "always-single-line"

Used in, for example, value lists for multiple backgrounds. Every value needs
to be on its own line.

// good because single-line
.foo {
    transition: background-color 200ms ease-in-out, color 200ms ease-in-out;
}

// good because multi-line 
.foo {
    transition: background-color 200ms ease-in-out,
        color 200ms ease-in-out,
        opacity 200ms ease-in-out;
}

// bad because not all multi-line
.bar {
    transition: background-color 200ms ease-in-out, color 200ms ease-in-out,
       opacity 200ms ease-in-out;
//

v1.0.0-alpha.3

10 Oct 09:40
Compare
Choose a tag to compare
v1.0.0-alpha.3 Pre-release
Pre-release

Fixes SCSS at-rules.

v1.0.0-alpha.2

10 Oct 09:40
Compare
Choose a tag to compare
v1.0.0-alpha.2 Pre-release
Pre-release

This was meant to fix an issue but broke it worse.

v1.0.0-alpha.1

08 Oct 15:20
Compare
Choose a tag to compare
v1.0.0-alpha.1 Pre-release
Pre-release

Initial alpha release to gather feedback.