stylelint-config-globex

CSS Code Standards for Globex Designs - Stylelint Shareable Config

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
stylelint-config-globex
023.13.0a month ago5 years agoMinified + gzip package size for stylelint-config-globex in KB

Readme


stylelint-config-globex

stylelint-config-globex

The CSS code standards used at Globex Designs, Inc.


NPM Status NPM Download Stats NPM Download Stats

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 own stylelint-globex bin tool so that you don't need to install stylelint 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 ."
	}
}