stylelint-config-globex
v3.14.1
Published
CSS Code Standards for Globex Designs - Stylelint Shareable Config
Downloads
659
Readme
Install
# With npm
npm install -D stylelint-config-globex
# or
# With yarn
yarn add -D stylelint-config-globex
# or
# With pnpm
pnpm add -D stylelint-config-globex
Note for pnpm users
If you are using pnpm, it's recommended that you add the following to your .npmrc
file to ensure code editors like VS Code can find the correct stylelint executuable:
public-hoist-pattern[]=stylelint
Usage
NOTE:
stylelint-config-globex
comes with its ownstylelint-globex
bin tool so that you don't need to installstylelint
as a peerDependency. All the necessary dependencies are bundled together for you.
Add the config to your .stylelintrc
file:
{
"extends": "stylelint-config-globex"
}
Enable via package.json
scripts with the custom stylelint-globex
bin:
{
"scripts": {
"stylelint": "stylelint-globex ."
}
}