stylelint-config-torchbox

Shareable stylelint config for CSS and SCSS, following Torchbox’s code style.

Usage no npm install needed!

<script type="module">
  import stylelintConfigTorchbox from 'https://cdn.skypack.dev/stylelint-config-torchbox';
</script>

README

stylelint-config-torchbox Stylelint

stylelint-config-torchbox on npm Build status

Shareable stylelint config for CSS and SCSS, following Torchbox’s code style.

Usage

Install stylelint, and the config:

npm install --save-dev stylelint@10 stylelint-config-torchbox

Then configure stylelint to use this config. As a stylelint.config.js in the root of your project:

module.exports = {
  // See https://github.com/torchbox/stylelint-config-torchbox for rules.
  extends: 'stylelint-config-torchbox',
};

Tips

Related tools

To get the most out of this config, it is assumed that projects have the following tools set up:

What’s included

See config.js for the config definition. This package depends on:

Rules

Custom rules

Rules of stylelint-config-standard

Disabled rules

Rules that are turned off on purpose.

Unused rules

Rules that are not configured.

Contributing

See the contribution guidelines for guidance and setup instructions.