1.0.0 • Published 12 months ago

stylelint-config-prettier-scss v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

stylelint-config-prettier-scss

NPM version Downloads

Turns off all CSS and SCSS rules that are unnecessary or might conflict with Prettier (extends stylelint-config-prettier). This lets you use your favorite shareable config without letting its stylistic choices get in the way when using Prettier.

Installation

Install stylelint-config-prettier-scss:

npm install --save-dev stylelint-config-prettier-scss

Then, append stylelint-config-prettier-scss to the extends array in your .stylelintrc.* file. Make sure to put it last, so it will override other configs.

{
  "extends": [
    // other configs ...
    "stylelint-config-prettier-scss"
  ]
}

CLI helper tool

stylelint-config-prettier-scss is shipped with a little CLI tool to help you check if your configuration contains any rules that are in conflict with Prettier.

In order to execute the CLI tool, first add a script for it to package.json:

{
  "scripts": {
    "stylelint-scss-check": "stylelint-config-prettier-scss-check"
  }
}

Then run npm run stylelint-scss-check.

Attribution


MIT

@mfe-cli/stylelint-config@duiyuan/stylelint-config@it-incubator/stylelint-config-incubator@longwoo/stylelint-config-standard@godismyjudgebro/stylelint-config@everything-registry/sub-chunk-2842@airnauts/style-guide@ahdcreative/stylelint-config-ahd@boston-scientific/stylelint-config@captive/stylelint-config@aquant-ai/stylelint-config-scss@autobest-ui/stylelint-config@arfreelance/stylelint-config@argentinafreelance/stylelint-config@cowtech/stylelint-config@craftworks/stylelint-config-angular@allen-packages/stylelint-config@cd-pkg/style-lint@dieproduktmacher/stylelint-config@dipcode/stylelint-configcrw-scriptslicht-uilight-design-reactlightdlightd-mobile@harmonix-hub/stylelint@hidoo/stylelint-config@plasticine-design/stylelint-configshadow-bootstrap-woltechnologieseslint-config-neat-local@theaninova/stylelint-config-standard@team-supercharge/frontend-quality-configstylelint-config-so-prettystylelint-config-lightbulbstylelint-config-strict-modestylelint-config-superology-scssstylelint-config-cnpfrabbit-stylelint@rockpack/codestylesample-test-personal-gv@sebalaini/sebalaini-lints-config@tapsellorg/stylelint-config@twinscom/stylelint-config@taoyage/configs@wagtail/stylelint-config-wagtail@davidwarrington/stylelint-config@deephaven/stylelint-configkni-scss@kaas-devteam/stylelint-config@justichentai/stylelint-config@midea-infra/stylelint-config@lints-config/stylelint-config-scss@loongwoo/stylelint-config-standardmzlui-rtmeiqia-configsmeiqia-fe-configs@infinitebrahmanuniverse/nolb-stylelint-c@potoio/stylelint-config@ecohead/configs@remindgmbh/stylelint-config@quanxi/uiqxi-ui@react-website/crw-scripts
1.0.0

12 months ago

1.0.0-alpha.0

12 months ago

0.0.1

2 years ago