@gravityforms/stylelint-config

3.0.0 • Public • Published

Gravity Forms Stylelint Config

Stylelint config for use in Gravity Forms projects.

Installation

Install the module and required dependencies:

npm install @gravityforms/stylelint-config stylelint stylelint-order --save-dev

Note: This package requires node 14.15.0 or later, and npm 6.14.8 or later.

Overview

An extension of the WordPress Stylelint config with additional rules used at Gravity Forms, which includes:

  • Sort order: alphabetical
  • BEM formatting as warnings
  • Some small tweaks to the WordPress rules that better suit our working environment.

Usage

After installing, create a .stylelintrc.json file in the root of your project, and then add:

{
  "extends": "@gravityforms/stylelint-config",
  "rules": {}
}

The rules object is your optional overrides of the config for your project.

Readme

Keywords

Package Sidebar

Install

npm i @gravityforms/stylelint-config

Weekly Downloads

181

Version

3.0.0

License

GPL-2.0-or-later

Unpacked Size

2.55 kB

Total Files

5

Last publish

Collaborators

  • nickpelton
  • carlhancock
  • mbelenmontoya
  • laborin
  • sswebster
  • ryanurban
  • paulmskim
  • sherifmesallam
  • alexcancado
  • wpalchemist
  • speerface
  • faction23