3.0.0 • Published 5 months ago

@gravityforms/stylelint-config v3.0.0

Weekly downloads
-
License
GPL-2.0-or-later
Repository
github
Last release
5 months ago

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.

3.0.0

5 months ago

2.0.0

1 year ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.1

3 years ago