9.0.5 • Published 2 years ago

stylelint-config-prettier v9.0.5

Weekly downloads
539,844
License
MIT
Repository
github
Last release
2 years ago

stylelint-config-prettier

Note
As of Stylelint v15 all style-related rules have been deprecated. If you are using v15 or higher and are not making use of these deprecated rules, this plugin is no longer necessary.

NPM version Downloads

Turns off all rules that are unnecessary or might conflict with 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:

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

Then, append stylelint-config-prettier 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"
  ]
}

CLI helper tool

stylelint-config-prettier 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-check": "stylelint-config-prettier-check"
  }
}

Then run npm run stylelint-check.

Attribution


MIT

xcc-standard-stylelint@lintdog/caddi-core-ui@lintdog/stylelint-config@she11sh0cked/stylelint-config@vividcat/broom@hovey/stylelint-config-basic@knapsack-cloud/msk-design-system@xverse/matrix-code-generatorstylelint-config-dxynora-setupnoodles-normplum-fabricmo-foundation-base@geekality/stylelint-configstylelint-config-pack@8pt/stylelint-config-baseemulsify-design-system@e_ops/mizart-kvlnk-configs@shubhanshu-works/linters@qinshixixing/stylelint-config@dlwlrma/ngx-linter-formatter8haodi-font-end-check-configfont-end-check-config-8haodiawm-lint-utilsstylelint-config-dqyfp-base@conten2/stylelint-config@ebullience/stylelint-config@sno2wman/stylelint-config@dianmi-fe/lint@jwilsson/prettier-config-stylelint@dqyfp/stylelint-config-base@vallife/stylelint-config-basevigoworks.componentsstylelint-config-metamo@indiealistic/stylelint-config-ids@nexhome/restrictions@spothero/stylelint-config@swallowtail/stylelint-configeslint-plugin-shoplazza@vallife/valli-stylelint-config@xeho91/stylelint-confighzero-front-runtimehzero-react-scriptshzero-webpack-scriptsglue-js-documentation-builder@pqt/stylelint-config@ebullience/code-config@smb-fe/stylelint-config-standardke-tools-lint@ymkz/stylelint-config@zrf9018/marvel-clirkfe-lint@delonix/stylelint-configsguoyi-cli@furdzik/stylelint-config@lubowiecki/stylelint-config-base@ly-zd/stylelint-config@ly-zd/stylelint-pluginzhouhaifei-code-stylestylelint-common-config@jingjing20/stylelintthe-front-lintyewill-test-lint@befluent/linter@clevercanyon/utilities-dev-npm@nbfe/configviti-stylelint-config@wfly/config-lint@godismyjudgebro/stylelint-config@cmsk/stylelint-config@befluentclass/linter@sherry-standard/stylelint-config-sherry@smb-org/stylelint-config-standardnubo-stylelint-configstylelint-config-ethanginflumy-lintrlintfiber-lint@everything-registry/sub-chunk-2842snbc-paas-webpacksnbc-paas-webpack-scriptscpaas-webpack-scripts@innit/stylelint-config-base@scrawllife/fabriccode-fabriclint-stylelint-config-vue@ugistelmokaitis/fusionwestern-up-scsswetrial-lintsaber-specsample-test-personal-gvscaffoldr-reactrocketbeltsuperbrave-build-scriptspark-spec-configsd-release-plusrubik-cliromanticuitest-stylelint-config
9.0.5

2 years ago

9.0.4

2 years ago

9.0.3

3 years ago

9.0.2

3 years ago

9.0.1

3 years ago

9.0.0

3 years ago

8.0.2

5 years ago

8.0.1

5 years ago

8.0.0

5 years ago

7.0.0

5 years ago

6.0.0

5 years ago

5.3.0

5 years ago

5.2.0

6 years ago

5.1.0

6 years ago

5.0.0

6 years ago

4.0.0

6 years ago

3.3.0

7 years ago

3.2.0

7 years ago

3.1.0

7 years ago

3.0.4

7 years ago

3.0.3

7 years ago

3.0.1

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago