1.1.11 • Published 2 years ago

stylelint-plugin-color v1.1.11

Weekly downloads
879
License
MIT
Repository
github
Last release
2 years ago

Stylelint Plugin Color

Stylelint plugin for managing colors. Includes Less and Scss support.

Rules

Go to each rule's page (click on the name below) to see specific details.

Ruleauto-fix
plugin-color/color-typesnone

Rule Options

All rules respect the following primary option format and no secondary options:

  • boolean input

    {
        "rule-name": true // use default rule behavior
    }
    {
        "rule-name": false // disables rule
    }
  • object input

    {
        "mode": "require" // requires the rule's default
    }
    {
        "mode": "block" // blocks the rule's default
    }
    {
        "mode": "off" // disable rule
    }
  • object input with exceptions

    {
        "mode": "require",
        // optional input
        // these use glob matching with globstar turned ON
        "fileExceptions": [
            "**/*colors.less", // ignores any files ending in colors.less in any directory
            "*colors.less" // ignore files ending in colors.less only in the current directory
        ]
        // optional input
        // these use glob matching with globstar turned OFF
        "lineExceptions": [
            "*colors*", // ignores all lines that include the word colors
            "@import 'colors'" // ignores all lines that are exactly this string (don't include semicolons)
        ],
    }
1.1.11

2 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.10

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago