alkhimenok-qqqqqqq-stylelint-config

Stylelint config levakorg org's


Keywords
stylelint, stylelint-config, package
License
MIT
Install
npm install alkhimenok-qqqqqqq-stylelint-config@1.0.0

Documentation

@levakorg/stylelint-config

Stylelint config levakorg org's

Setup

1. Installation

npm install --save-dev stylelint @levakorg/stylelint-config

or

yarn add --dev stylelint @levakorg/stylelint-config

2. Configuration

package.json

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

.stylelintrc | .stylelintrc.json

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

.stylelintrc.js

module.exports = {
  extends: ['@levakorg/stylelint-config']
}

3. Add scripts

"stylelint": "stylelint {**/*,*}.{css,less,scss,sass,styl,stylus,styled.js,styled.ts}",
"stylelint:fix": "stylelint {**/*,*}.{css,less,scss,sass,styl,stylus,styled.js,styled.ts} --fix",

4. Using scripts

npm run stylelint
npm run stylelint:fix

or

yarn stylelint
yarn stylelint:fix

About

1. Used dependencies

Notes

1. Using preprocessors

@levakorg/stylelint-config/less
@levakorg/stylelint-config/scss
@levakorg/stylelint-config/sass
@levakorg/stylelint-config/stylus
@levakorg/stylelint-config/styled-components

2. Config / Performance