1.1.0 • Published 6 years ago

@yproximite/stylelint-config-wordpress v1.1.0

Weekly downloads
18
License
MIT
Repository
github
Last release
6 years ago

stylelint-config-wordpress

npm version Build Status

Stylelint configuration for our Wordpress projects

Features

  • Include stylelint-config-sass-guidelines
  • Disable selector-class-pattern rule
  • Disable scss/at-extend-no-missing-placeholder rule
  • Configure selector-max-compound-selectors rule to 5
  • Configure max-nesting-depth rule to 5

Installation

$ yarn add --dev @yproximite/stylelint-config-wordpress

Dont forget to install Stylelint too:

$ yarn add --dev stylelint

Usage

Edit your Stylelint configuration file with:

{
  "extends": ["@yproximite/stylelint-config-wordpress"]
}

Development workflow

You need to install some dependencies first:

$ yarn

Contribution

Publishing a new release

This is automatically done by Travis and semantic-release when you merge a pull request.