As of 2025-01 this package is no longer maintained. We use https://biomejs.dev/ instead now.
# 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
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
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 ."
}
}