@ndustrial/stylelint-config-ndustrial

A stylelint configuration for ndustrial.io web applications.

Stats

StarsIssuesVersionUpdatedCreatedSize
@ndustrial/stylelint-config-ndustrial
011.0.23 years ago4 years agoMinified + gzip package size for @ndustrial/stylelint-config-ndustrial in KB

Readme

stylelint-config-ndustrial

A stylelint configuration for ndustrial.io web applications.

Installation

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

Usage

After you've installed the stylelint config, create a .stylelintrc.json file in your project. It should look like this:

{
  "extends": "@ndustrial/stylelint-config-ndustrial"
}

Now, add an npm script to run the linter.

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

Extending the config

Add a "rules" key to your config, then add your overrides/additions there. For instance, if you're Richard from the HBO (R) show Silicon Valley (TM), you can override the indendation rule by doing the following:

{
  "extends": "@ndustrial/stylelint-config-standard",
  "rules": {
    "indentation": "tab"
  }
}

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.