Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Plugin not working with stylelint-config-sass-guidelines #583

Open
@abogacki

Description

@abogacki

After adding .stylelintrc configuration (listed below) that extends stylelint-config-sass-guidlines (available here) linter throws error on top of each scss file

{
  "extends": [
    "stylelint-config-sass-guidelines",
    "stylelint-config-prettier"
  ],
  "plugins": [
    "stylelint-scss",
    "stylelint-prettier"
  ],
  "rules": {
    "prettier/prettier": true,
    "max-nesting-depth": null,
    "scss/at-import-partial-extension-blacklist": null,
    "order/order": [
      [
        "custom-properties",
        "dollar-variables",
        {
          "type": "at-rule",
          "name": "extend"
        },
        {
          "type": "at-rule",
          "name": "include"
        },
        "declarations",
        "rules",
        {
          "type": "at-rule",
          "name": "media"
        }
      ]
    ]
  }
}

image

The issue is related to declaration-property-value-disallowed-list which is defined by stylelint-config-sass-guidelines like:

"declaration-property-value-disallowed-list": {
      "border": ["none"],
      "border-top": ["none"],
      "border-right": ["none"],
      "border-bottom": ["none"],
      "border-left": ["none"]
    },

The above seems to ok with official docs. Configuration works perfectly fine with VS Code.
Is there a solution to this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions