2.0.1 • Published 1 month ago

@malven/stylelint-config v2.0.1

Weekly downloads
6
License
MIT
Repository
github
Last release
1 month ago

Malven Co. Stylelint Config

The Malven Co. shareable config for stylelint.

Use it as is or as a foundation for your own config.

Installation

npm install stylelint @malven/stylelint-config --save-dev

Usage

If you've installed @malven/stylelint-config locally within your project, just set your stylelint config to:

{
  "extends": "@malven/stylelint-config"
}

Extending the config

Simply add a "rules" key to your config, then add your overrides and additions there.

For example, to change the at-rule-no-unknown rule to use its ignoreAtRules option, turn off the block-no-empty rule, and add the unit-whitelist rule:

{
  "extends": "@malven/stylelint-config",
  "rules": {
    "at-rule-no-unknown": [ true, {
      "ignoreAtRules": [
        "extends"
      ]
    }],
    "block-no-empty": null,
    "unit-whitelist": ["em", "rem", "s"]
  }
}
2.0.1

1 month ago

2.0.0

5 months ago

1.3.2

2 years ago

1.3.1

2 years ago

1.2.2

2 years ago

1.3.0

2 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.4

3 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago