@mugo-agency/stylelint-config

0.1.0 • Public • Published

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

Package Sidebar

Install

npm i @mugo-agency/stylelint-config

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

5.63 kB

Total Files

4

Last publish

Collaborators

  • mugo-agency