node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

stylelint-config-prettier

stylelint-config-prettier

NPM version Downloads

Turns off all rules that are unnecessary or might conflict with Prettier.

This lets you use you 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, add stylelint-config-prettier to the extends array in your .stylelintrc.* file. Make sure to put it last, so it gets the chance to override other configs.

{
  "extends": [
    "stylelint-config-prettier"
  ]
}

Attribution


© Shannon Moeller me@shannonmoeller.com (shannonmoeller.com)

Licensed under MIT