14.0.1 • Published 10 months ago

stylelint-config-recommended v14.0.1

Weekly downloads
1,585,387
License
MIT
Repository
github
Last release
10 months ago

stylelint-config-recommended

NPM version Build Status

The recommended shareable config for Stylelint.

It turns on most of the Stylelint rules that help you avoid errors.

You can use this as a foundation for your own config, but we suggest most people use our standard config instead which extends this config and adds a few more rules to enforce common conventions.

Installation

npm install stylelint-config-recommended --save-dev

Usage

Set your stylelint config to:

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

Extending the config

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-allowed-list rule:

{
  "extends": "stylelint-config-recommended",
  "rules": {
    "at-rule-no-unknown": [
      true,
      {
        "ignoreAtRules": ["extends"]
      }
    ],
    "block-no-empty": null,
    "unit-allowed-list": ["em", "rem", "s"]
  }
}

Changelog

License

stylelint-config-standard@corabank/ibanking@knapsack-cloud/msk-design-system@nodeart/stylelinttrs-vue-cli@sharegate/stylelint-config-sg@geekality/stylelint-config@schm-dt/frontend@schm-dt/ui-componentsstylelint-config-slick@phpfox/stylelint-configt-kvlnk-configs@shubhanshu-works/lintersstylelint-config-nonsense@kzx/stylelint-config@deboxsoft/devel-react@layerise/lintcra-template-gtja-czcra-template-ltbycecra-template-cz-testxr3-spokexrchat-spoketest-widget-order@mediamonks/porter-react-skeleton@swallowtail/stylelint-config@xeho91/stylelint-config@ymkz/stylelint-config@furdzik/stylelint-configstylelint-common-config@befluent/linter@nbfe/confignextjs-with-material-ui-example-template@soyhuce/stylelint-config@wfly/config-lint@befluentclass/linternode-puristart47opea-bootstraap@everything-registry/sub-chunk-2842@clamjs/stylelint-configstylelint-config-bellangerqstylelint-miszomember-easy-mobile-v1@sumdoo/stylelint-configweb-elements-iconsvue-less-formatwttj-configwttj-config-frontsuperbrave-build-scripttest-widget-order-componenttest-ui-kit-sveltesweetalert2-denazificationvitauvue-css-format@drpgroup/stylelint-config@creativestyle/magesuite-frontend-builder@cyansalt/stylelint-config@digitalsilk/stylelint-config@design-systems/stylelint-config@cpfe/config@callfromweb/configs@blueberrypie/stylelint-config@benbender/stylelint-config@rosinfo.tech/cli@rosinfo.tech/stylelint-config-standardcauseway-concrete-stylesjest-style-matcherslbglisting-clireact-boilerplate-tools@appmint/dataform@dlwlrma/stylelint-config@primerai/stylelint-config-sentio-appstylelint-config-ckeditor5stylelint-config-cnpstylelint-config-craglintstylelint-config-fitplanstylelint-config-foxsocialstylelint-config-frackstylelint-config-edustylelint-config-exemstylelint-config-exem-frontendstylelint-config-eyeostylelint-config-favoritemediumstylelint-config-digiitstylelint-config-hrvcstylelint-config-hthstylelint-config-jenahajekstylelint-config-joaopedrodcfstylelint-config-js-scriptsstylelint-config-heisenbergstylelint-config-kamisamastylelint-config-micuedstylelint-config-mission-madestylelint-config-mrhenrystylelint-config-mrtnvhstylelint-config-manzdevstylelint-config-kerorostylelint-config-kmstylelint-config-kreativgebietstylelint-config-lint
14.0.1

10 months ago

14.0.0

1 year ago

13.0.0

2 years ago

12.0.0

2 years ago

10.0.0

2 years ago

10.0.1

2 years ago

11.0.0

2 years ago

8.0.0

3 years ago

9.0.0

3 years ago

7.0.0

3 years ago

6.0.0

4 years ago

6.0.0-0

4 years ago

5.0.0

4 years ago

4.0.0

4 years ago

3.0.0

6 years ago

2.2.0

6 years ago

2.1.0

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.0

8 years ago

0.1.0

8 years ago