This package has been deprecated

Author message:

DEPRECATED: Please use stylelint-config-suitcss instead.

stylelint-config-factorial

7.1.1 • Public • Published

stylelint-config-factorial

Factorial shareable config for stylelint.

Configuration rules to ensure your CSS code is compliant with Factorial's CSS code style.

Our configuration extends stylelint-config-suitcss and is also based on the wonderful work at SUIT CSS's code style.

Installation

$ npm install stylelint-config-factorial --save-dev

Usage

Create a .stylelintrc file in your project and set your config to:

{
  "extends": "stylelint-config-factorial"
}

This configuration then can be consumed by various tools.
We recommend using a plugin for your build tool and editor.

Extending the config

Simply add a "rules" key to your config and add your overrides there.

For example, to change the indentation to tabs and turn off the number-leading-zero rule:

{
  "extends": "stylelint-config-factorial",
  "rules": {
    "indentation": "tab",
    "number-leading-zero": null
  }
}

Changelog

License

Package Sidebar

Install

npm i stylelint-config-factorial

Weekly Downloads

2

Version

7.1.1

License

MIT

Last publish

Collaborators

  • mvsde
  • dnnsjrng
  • mmatull
  • mlnmln
  • mgrsskls
  • andrewbeng89