1.1.0 • Published 3 months ago

@uva-glass/stylelint-config v1.1.0

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
3 months ago

GLASS-stylelint

Stylelint configuration for the Glass frontend

Installation and usage

Installing

Note

Make sure Node >= 18 is installed

npm i @uva-glass/stylelint-config --save-dev

Using

Create a .stylelintrc.json file in the root of your project and add the following:

{
  "extends": ["@uva-glass/stylelint-config"]
}

Overriding

Some rules might not be too specific or limiting for your code. In those cases, the default configuration can be extended or overwritten. For instance for files that are used on the command line by Jest, but are included in the regular code base:

{
  "extends": ["@uva-glass/stylelint-config"],
  "overrides": [
    {
      "rules": {
        "order/properties-alphabetical-order": false
      }
    }
  ]
}
1.1.0

3 months ago

1.0.4

5 months ago

1.0.3

10 months ago

1.0.2

11 months ago

1.0.1

11 months ago

2.0.0

11 months ago

1.0.0

11 months ago