@uva-glass/stylelint-config

1.1.0 • Public • Published

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
      }
    }
  ]
}

Readme

Keywords

none

Package Sidebar

Install

npm i @uva-glass/stylelint-config

Weekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

2.7 kB

Total Files

5

Last publish

Collaborators

  • robindv