14.0.1 • Published 6 months ago

stylelint-config-recommended v14.0.1

Weekly downloads
1,585,387
License
MIT
Repository
github
Last release
6 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-frontseus-scriptssaytum-autocompletesandpapershoppyfit-toolrmp-vastsuperbrave-build-scripttest-widget-order-componenttest-ui-kit-sveltesweetalert2-denazificationvitauvue-css-formatreact-boilerplate-tools@appmint/dataform@dlwlrma/stylelint-config@primerai/stylelint-config-sentio-appmfe-runtimemk-saytum-startlmr-brandplatformlinters-self-felintconfiglinter-configlbglisting-clihappy_frontendjest-style-matchersmicro-stylelint-confgsaashfex-stylelint-configi-lint-testimhotepglacier-stylelintmanuel-ui-kit-sveltepapuapaduaopea-bootstrapprefer-code-styleplastticpressbooks-build-toolsnoco-scriptsniuco-design-systemnode-code-analyzerpodverse-uipd-react-scriptsphongdang-publishing-to-npmreact-sinprors-libreact-pipedash-componentneural_compressor_ext_lab_customizedneural_compressor_ext_lab_customized_2rahrecruiter_epiq_depsstylelint-config-ckeditor5stylelint-config-cnpstylelint-config-craglint
14.0.1

6 months ago

14.0.0

1 year ago

13.0.0

1 year 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

2 years ago

7.0.0

3 years ago

6.0.0

3 years ago

6.0.0-0

3 years ago

5.0.0

4 years ago

4.0.0

4 years ago

3.0.0

5 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

7 years ago

0.1.0

7 years ago