@fremtind/stylelint-config-jkl

8.0.1 • 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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 8.0.1
    6
    • latest

Version History

Package Sidebar

Install

npm i @fremtind/stylelint-config-jkl

Weekly Downloads

9

Version

8.0.1

License

MIT

Unpacked Size

7.47 kB

Total Files

18

Last publish

Collaborators

  • pior-h
  • a11860
  • fremtind-bot