Skip to content

shapedigital/stylelint-config

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js Package

stylelint-config

Mugo's shareable Stylelint config for use across projects.

Installation

Install stylelint and @mugo-agency/stylelint-config:

With Yarn

yarn add --dev stylelint @mugo-agency/stylelint-config

With npm

npm install stylelint @mugo-agency/stylelint-config --save-dev

Usage

Mugo's stylelint rules come bundled in @mugo-agency/stylelint-config. To enable these rules, add a stylelint property in your package.json. See the stylelint configuration docs for more details.

"stylelint": {
  "extends": ["@mugo-agency/stylelint-config"]
}

Now you can run stylelint by adding the following linting script to your package.json. See the stylelint CLI docs for more details.

"scripts": {
  "stylelint": "stylelint 'src/**/*.scss'"
}

Run it:

With Yarn

yarn run stylelint

With npm

npm run stylelint

About

Mugo's shareable Stylelint config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%