1.0.3 • Published 6 years ago

stylelint-config-amazee v1.0.3

Weekly downloads
117
License
MIT
Repository
github
Last release
6 years ago

stylelint-config-amazee

Based on stylelint-config-standard.

To see the rules that this config uses, please read the config itself.

Installation

npm install stylelint-config-amazee --save-dev

Usage

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

{
  "extends": "stylelint-config-amazee"
}

If you've globally installed stylelint-config-amazee using the -g flag, then you'll need to use the absolute path to stylelint-config-amazee in your config e.g.

{
  "extends": "/absolute/path/to/stylelint-config-amazee"
}

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, change the indentation to tabs, turn off the number-leading-zero rule, and add the unit-whitelist rule:

{
  "extends": "stylelint-config-amazee",
  "rules": {
    "at-rule-no-unknown": [ true, {
      "ignoreAtRules": [
        "extends",
        "ignores"
      ]
    }],
    "indentation": "tab",
    "number-leading-zero": null,
    "unit-whitelist": ["em", "rem", "s"]
  }
}

Plugins

Plugins are rules or sets of rules built by the community that support methodologies, toolsets, non-standard CSS features, or very specific use cases. See documentation for more information.

Updates

Changelog

License

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.1.0

6 years ago