@fremtind/stylelint-config-jkl v8.0.10
@fremtind/stylelint-config-jkl
Jøkul config for stylelint.
Based on the following rulesets:
Installing
npm i stylelint @fremtind/stylelint-config-jklUsage
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.
6 months ago
6 months ago
6 months ago
10 months ago
6 months ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago