@fourdigit/stylelint-config-fourdigit
v4.0.0
Published
The shareable stylelint config for Fourdigit production.
Downloads
576
Readme
@fourdigit/stylelint-config-fourdigit
The shareable stylelint config for Fourdigit production.
Extends
Installation
// peerDependencies
npm i -D stylelint stylelint stylelint-config-standard-scss stylelint-config-recess-order
npm i -D @fourdigit/stylelint-config-fourdigit
Usage
If you've installed @fourdigit/stylelint-config-fourdigit
locally within your project, just set your stylelint config to:
.stylelintrc.json
{
"extends": "@fourdigit/stylelint-config-fourdigit"
}
.stylelintrc.js
module.exports = {
extends: ["@fourdigit/stylelint-config-fourdigit"],
};
Using on Vscode extension
If you use vscode-stylelint
extension.
Add options on workspace or user settings
.vscode/settings.json
{
"css.validate": false,
"less.validate": false,
"scss.validate": false,
"stylelint.validate": ["css", "scss"],
}