Have ideas to improve npm?Join in the discussion! »

    @aerian/stylelint-config-base

    11.0.1 • Public • Published

    @aerian/stylelint-config-base

    This is a sharable Stylelint config to compliment the eslint configs at https://github.com/aerian-studios/eslint-config.

    To install, run:

    #npm
    npm i -D stylelint @aerian/stylelint-config-base
    
    #yarn
    yarn add -D  stylelint @aerian/stylelint-config-base

    To use it, create the following .stylelintrc.json:

    {
        "extends": ["@aerian/stylelint-config-base"]
    }

    Also add this to your eslint config

    {
        "extends": ["stylelint"]
    }

    There are many rules that can be auto-fixed using stylelint . --fix either in the command line or in a package.json.

    Editor integration

    There are various editor integrations. Remember that some integrations need a little setup. For vscode, add this to your workspace settings to stop conflicting rules:

    {
        "css.validate": false,
        "less.validate": false,
        "scss.validate": false
    }

    Keywords

    none

    Install

    npm i @aerian/stylelint-config-base

    DownloadsWeekly Downloads

    50

    Version

    11.0.1

    License

    MIT

    Unpacked Size

    2.17 kB

    Total Files

    3

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar