1.2.0 • Published 2 months ago

@gotrip/stylelint-config v1.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

Recommended Stylelint configuration to create formatted code with best practices.

Installation

Install the package as development dependency, alongside stylelint package

npm i @gotrip/stylelint-config stylelint -D

or

yarn add @gotrip/stylelint-config stylelint -D

Usage

Create the .stylelintrc file in the root directory of your project and put code below to the file

{
    "extends": [
        ...
        "@gotrip/stylelint-config",
        ...
    ],
    "rules": {
        // ...your own custom rules and overrides
    }
}

or add code below to the package.json

{
    ...
    "stylelint": {
        "extends": ["@gotrip/stylelint-config"]
    },
    ...
}