14.0.0 • Published 4 months ago

stylelint-config-recommended v14.0.0

Weekly downloads
1,585,387
License
MIT
Repository
github
Last release
4 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-miszodh-stylelint-configdexter-clientdeps-angularjs-linterscra-template-ts-sb-stitchesdarshanyeah-react-uidatabeedatajunction-uiflex-responsiveeslint-config-mbpeslint-config-epsvueeslint-config-energysageeslint-config-esplinttkit-stylelint-config-tkit@funpodium/stylelint-config@jvbjs/stylelint-config@fuxijs/buildwttj-configwttj-config-front@gechiui/stylelint-configtms-area-selectukyoclicore2happy_frontendvue-css-formatvue-less-formattrim-component-librarytwo-faces-stylelint-config-recommended-vueglacier-stylelinttmatix-pro-logintrs-page-cligsaasyeelight-fabricjest-style-matchersimhotepweb-elements-iconsi-lint-testvitauhfex-stylelint-config@jvmanke/stylelint-config-jvmanke@icelandair/stylelint-config@imhele/stylelint-config@indigotree/stylelint-config@martin-kolarik/stylelint-config@looker/stylelint-config@lu-ban/cli@lwce/stylelint-config-experience-cloud@micropackage/scripts@lkit/stylelint-config@lofcz/sweetalert2-neutral@lucifinil/config-lint@mcansh/eslint-config@mediamonks/stylelint-config-css@mediamonks/stylelint-config-css-in-jsneural_compressor_ext_lab_customizedneural_compressor_ext_lab_customized_2@medlinker/scripts@mci-fe/lint@lwp2/react-scripts@lobehub/lint
14.0.0

4 months ago

13.0.0

10 months ago

12.0.0

1 year ago

10.0.0

1 year ago

10.0.1

1 year ago

11.0.0

1 year ago

8.0.0

2 years ago

9.0.0

2 years ago

7.0.0

2 years ago

6.0.0

2 years ago

6.0.0-0

3 years ago

5.0.0

3 years ago

4.0.0

3 years ago

3.0.0

5 years ago

2.2.0

5 years ago

2.1.0

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.0

7 years ago

0.1.0

7 years ago