From d2cd7a6a60e84c92f641671e2dbb531c1d3a9d32 Mon Sep 17 00:00:00 2001 From: Ishan Rai Date: Wed, 24 Jun 2020 08:10:26 +0000 Subject: [PATCH] mgr/dashboard: disable some scss lint rules Fixes: https://tracker.ceph.com/issues/46108 Signed-off-by: Ishan Rai --- .../mgr/dashboard/frontend/.stylelintrc | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/.stylelintrc b/src/pybind/mgr/dashboard/frontend/.stylelintrc index e4722440717..41599eb11a3 100644 --- a/src/pybind/mgr/dashboard/frontend/.stylelintrc +++ b/src/pybind/mgr/dashboard/frontend/.stylelintrc @@ -1,17 +1,33 @@ { + "extends": "stylelint-config-sass-guidelines", "plugins": [ "stylelint-declaration-use-variable" ], "rules": { + "declaration-property-value-blacklist": null, + "function-parentheses-space-inside": null, + "indentation": null, + "property-no-vendor-prefix": null, + "selector-no-qualifying-type": null, + "selector-class-pattern": null, + "selector-pseudo-element-no-unknown": null, + "selector-max-id": null, + "selector-max-compound-selectors": null, + "scss/selector-no-redundant-nesting-selector": null, + "scss/dollar-variable-pattern": null, + "scss/at-extend-no-missing-placeholder": null, + "max-nesting-depth": null, + "scss/at-import-partial-extension-blacklist": null, + "value-no-vendor-prefix": null, "sh-waqar/declaration-use-variable": [ [ "/color/", { "ignoreValues": [ - "inherit", - "initial", - "transparent", - "/darken/" + "inherit", + "initial", + "transparent", + "/darken/" ] } ] -- 2.39.5