1.0.0 • Published 2 years ago

stylelint-config-prettier-scss v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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-2842crw-scriptssunxi-configsx-stylelint-config@craftworks/stylelint-config-angular@commencis/stylelint-config@dipcode/stylelint-config@cowtech/stylelint-config@plasticine-design/stylelint-configstylelint-config-cnpstylelint-config-lightbulbstylelint-config-strict-modestylelint-config-superology-scssstylelint-config-so-pretty@airnauts/style-guide@argentinafreelance/stylelint-config@aquant-ai/stylelint-config-scss@arfreelance/stylelint-config@autobest-ui/stylelint-config@ahdcreative/stylelint-config-ahd@allen-packages/stylelint-config@bbye913/stylelint-config@captive/stylelint-config@cd-pkg/style-lint@channel.io/stylelint-config@boston-scientific/stylelint-config@deephaven/stylelint-config@dieproduktmacher/stylelint-config@davidwarrington/stylelint-config@harmonix-hub/stylelint@hidoo/stylelint-config@glasshouse/style-guide@infinitebrahmanuniverse/nolb-stylelint-c@loongwoo/stylelint-config-standard@lints-config/stylelint-config-scss@niondigital/linting-base@fanam-pkg/style-lint@midea-infra/stylelint-config@justia/stylelint-config@justichentai/stylelint-config@joinf-paas/config@kaas-devteam/stylelint-config@potoio/stylelint-config@react-website/crw-scripts@quanxi/ui@scouterdev/stylelint-config@place-framework/code-config@remindgmbh/stylelint-config@rockpack/codestyle@riesenia/fe-configsmzlui-rtsample-test-personal-gvqxi-uishadow-bootstrap-woltechnologieslightdlightd-mobilelicht-uilight-design-reactkni-scssmeiqia-configsmeiqia-fe-configs@wagtail/stylelint-config-wagtail@twinscom/stylelint-config@theaninova/stylelint-config-standard@tembty/stylelint-configdy-libseslint-config-neat-localfe-tribe-stylelint-configfrabbit-stylelint@team-supercharge/frontend-quality-config@taoyage/configs@tapsellorg/stylelint-config@softsky/configs
1.0.0

2 years ago

1.0.0-alpha.0

2 years ago

0.0.1

4 years ago