1.1.1 • Published 2 years ago

@lcooper/stylelint-config-scss v1.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

@lcooper/stylelint-config-scss

npm license

A standalone, sharable stylelint config for linting scss files. Enables the stylelint-scss and stylelint-order plugins.

Installation

For this package to function properly, stylelint must be installed as well:

npm install --save-dev stylelint @lcooper/stylelint-config-scss

If using npm 5 or greater, this can be acomplished using:

npx install-peerdeps --dev @lcooper/stylelint-config-scss

Usage

Add the stylelint field to your package.json file:

"stylelint": {
  "extends": "@lcooper/stylelint-config-scss"
}

Or create a stylelint config file type of your choice in the root folder of your project:

.stylelintrc

{
  "extends": "@lcooper/stylelint-config-scss"
}

.stylelintrc.js

module.exports = {
    extends: '@lcooper/stylelint-config-scss'
};

Check out the stylelint configuration docs for more details.

Scripts

Add a script to your package.json file:

"scripts": {
  "lint": "stylelint **/*.scss"
}
1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

4 years ago

1.0.0

4 years ago