@pega/stylelint-config
v0.16.2
Published
Pega front-end stylelint configuration.
Downloads
3,109
Readme
@pega/stylelint-config
Pegasystems front-end Stylelint configuration.
Installation
Install Stylelint and the Pega config.
npm i -D stylelint @pega/stylelint-config
Setting up your config
Extend from the Pega configuration in your Stylelint configuration file.
{
"extends": ["@pega/stylelint-config"]
}
Running Stylelint
Run Stylelint to check, for example, all .jsx
and .tsx
files in the current directory.
npx stylelint "./**/*.@(jsx|tsx)"
VS Code integration
You can install the VS Code extension to enable your editor to run Stylelint for you automatically.