@shelf.network/stylelint-config

1.3.0 • Public • Published

@shelf.network/stylelint-config

This is a shared config for Shelf.Network web apps and libraries. The config is based on eslint-config-standard with some tweaks for SCSS compability.

Add To Your Project

  1. Install styleling and the config:

    npm i -D stylelint@10.0.1 @shelf.network/stylelint-config
  2. Add the .stylelintrc file and extend the shared config

    {
      "extends": "@shelf.network/stylelint-config"
    }
  3. Add scripts to package.json

    {
      // ...
      "scripts": {
        // ...
        "stylelint": "stylelint \"src/**/*.{vue,scss}\"",
        "stylelintfix": "stylelint \"src/**/*.{vue,scss}\" --fix"
      }
    }

Dependents (0)

Package Sidebar

Install

npm i @shelf.network/stylelint-config

Weekly Downloads

0

Version

1.3.0

License

MIT

Unpacked Size

2.97 kB

Total Files

5

Last publish

Collaborators

  • ihor.diachenko