@endouble.com/stylelint-config-endouble

1.0.0 • Public • Published

stylelint-config

Endouble's CSS Stylelint configuration

npm

Install

Make sure you have Node (>=8) installed

npm install stylelint @endouble.com/stylelint-config-endouble --save-dev
# or
yarn add --dev stylelint @endouble.com/stylelint-config-endouble

Using

Create a .stylelint.json file at the root of your project and add the following configuration:

{
    "extends": "@endouble.com/stylelint-config-endouble"
}

Add to package.json a script to lint your desired files:

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

For more information, please follow the official guide.

Rules

Check the rules folder for examples of this configuration rules' applied.

For more information about how the rules work and more examples, please refer to the official stylelint docs. Don't forget to check the plugins docs too.

If by any reason you need to turn of stylelint, you should follow this guide.

Tests

npm test
# or
yarn test

Maintainers

Renan Couto

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @endouble.com/stylelint-config-endouble

Weekly Downloads

13

Version

1.0.0

License

MIT

Unpacked Size

134 kB

Total Files

45

Last publish

Collaborators

  • endouble
  • koenknol
  • renancouto