Nagging Penguin Matriarchs

    stylelint-config-style-guide

    0.0.3 • Public • Published

    stylelint-config-style-guide

    在stylelint-config-standard基础上自定义代码检测规则

    在线生成的配置

    {
        "extends": "stylelint-config-standard",
        "rules": {
            "string-quotes": "single",
            "indentation": 2,
            "no-duplicate-selectors": true,
            "color-hex-case": "lower",
            "color-hex-length": "short",
            "color-named": "never",
            "selector-no-qualifying-type": true,
            "selector-no-id": true,
            "selector-combinator-space-after": "always",
            "selector-attribute-quotes": "always",
            "selector-attribute-operator-space-before": "never",
            "selector-attribute-operator-space-after": "never",
            "selector-attribute-brackets-space-inside": "never",
            "declaration-block-trailing-semicolon": "always",
            "declaration-colon-space-before": "never",
            "declaration-colon-space-after": "always",
            "number-leading-zero": "never",
            "function-url-quotes": "never",
            "function-url-data-uris": "always",
            "font-weight-notation": "numeric",
            "font-family-name-quotes": "always-where-required",
            "comment-whitespace-inside": "always",
            "comment-empty-line-before": "never",
            "rule-empty-line-before": "never",
            "selector-pseudo-element-colon-notation": "double",
            "selector-pseudo-class-parentheses-space-inside": "never",
            "selector-no-universal": true,
            "media-feature-range-operator-space-before": "always",
            "media-feature-range-operator-space-after": "always",
            "media-feature-parentheses-space-inside": "never",
            "media-feature-colon-space-before": "never",
            "media-feature-colon-space-after": "always"
        }
    }
    

    资源

    Keywords

    Install

    npm i stylelint-config-style-guide

    DownloadsWeekly Downloads

    0

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • huixisheng