@justia/stylelint-config v5.0.1
@justia/stylelint-config 
Justia's base Scss Stylelint configuration
This stylelint configuration uses the basic declaration order of Idiomatic CSS, applies the Sass Guidelines to a more consistent Scss and uses prettier to format the code.
Make sure you upgrade to at least Node.js
12.22.0when using this packages because of prettier and other plugins used internally.
Install
Install the correct versions of the peer dependencies, which are listed by the command:
npm info "@justia/stylelint-config@latest" peerDependenciesIf using npm 5+, use this shortcut
npx install-peerdeps --dev @justia/stylelint-configIf using npm < 5, Linux/OSX users can run
(
export PKG=@justia/stylelint-config;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)Which produces and runs a command like:
npm install --save-dev @justia/stylelint-config stylelint@^#.#.# prettier@^#.#.#Usage
Set your stylelint configuration to:
{
"extends": ["@justia/stylelint-config"]
}You can easily extend the config to your needs.
@justia/stylelint-config/rscss
This entry point enables the validation of the code against RSCSS conventions.
{
"extends": ["@justia/stylelint-config/rscss"]
}12 months ago
1 year ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago