@computerrock/stylelint-config-react-app

2.0.0 • Public • Published

@computerrock/stylelint-config-react-app

This package contains shareable stylelint configuration used for React projects.

Usage

Install this package, stylelint and the necessary plugins.

$ npm install stylelint@^9.2.1 stylelint-webpack-plugin@^0.10.5 stylelint-scss@^3.1.0 stylelint-selector-bem-pattern@^2.0.0 --save-dev
$ npm install @computerrock/stylelint-config-react-app --save-dev

Create a file named .stylelintrc with following contents in the root folder of your project:

{
    "extends": "@computerrock/stylelint-config-react-app",
    "rules": {}
}

You can override the settings from @computerrock/stylelint-config-react-app by editing the .stylelintrc file. Learn more about configuring stylelint on the stylelint website.

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @computerrock/stylelint-config-react-app

    Weekly Downloads

    58

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    34.8 kB

    Total Files

    9

    Last publish

    Collaborators

    • ljiljana_marinkovic
    • brankica
    • natasa.vuksanovic
    • stankovic84
    • tocoxf
    • computerrocknpm
    • igor.rankovic
    • ninkovic
    • luka.krsmanovic