1.0.0 • Published 5 years ago

@endouble.com/stylelint-config-endouble v1.0.0

Weekly downloads
62
License
MIT
Repository
github
Last release
5 years ago

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

1.0.0

5 years ago

0.4.0

5 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago