@fremtind/stylelint-config-jkl

8.0.4 • Public • Published

@fremtind/stylelint-config-jkl

Jøkul config for stylelint.

Based on the following rulesets:

Installing

npm i stylelint @fremtind/stylelint-config-jkl

Usage

Create a file stylelint.config.js in the same directory as your package.json, and extend this config:

module.exports = {
    extends: "@fremtind/stylelint-config-jkl",
};

Add a script to your package.json:

"lint:styles": "stylelint '**/*.{css,scss,sass}' --cache"

Add .stylelintcache to your .gitignore.

Rules

Rules are organized in separate files in the rules/ folder according to their seciton in List of rules.

Example and tests

The rules are tested against an example stylesheet in examples/styles.scss.

Package Sidebar

Install

npm i @fremtind/stylelint-config-jkl

Weekly Downloads

3

Version

8.0.4

License

MIT

Unpacked Size

7.48 kB

Total Files

18

Last publish

Collaborators

  • pior-h
  • a11860
  • fremtind-bot