diff --git a/.stylelintrc b/.stylelintrc index 22152dec2675794d090c442fbd4c0f301022a398..13ec6ea340b34b2a65309fd166b665e3883358ae 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -13,7 +13,7 @@ ], "rules":{ "max-nesting-depth": [ - 5, + 3, { "ignoreAtRules":[ "each", @@ -24,7 +24,7 @@ "severity":"warning" } ], - "selector-max-compound-selectors":[6, { "severity": "warning" }], + "selector-max-compound-selectors":[3, { "severity": "warning" }], "stylelint-gitlab/utility-classes":[true,{ "severity": "warning" }], "declaration-block-no-duplicate-properties": [ true, diff --git a/package.json b/package.json index 56b54b74047c3d7f3c1f48b33fa98582e015a1a0..013340023c43e35e79639f849dd84b59bfb47d97 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "lint:prettier:fix": "yarn run prettier --write '**/*.{graphql,js,vue}'", "lint:prettier:staged": "scripts/frontend/execute-on-staged-files.sh prettier '(graphql|js|vue)' --check", "lint:prettier:staged:fix": "scripts/frontend/execute-on-staged-files.sh prettier '(graphql|js|vue)' --write", - "lint:stylelint": "stylelint --cache -q '{ee/,}app/assets/stylesheets/**/*.{css,scss}'", + "lint:stylelint": "stylelint -q '{ee/,}app/assets/stylesheets/**/*.{css,scss}'", "lint:stylelint:fix": "yarn run lint:stylelint --fix", "lint:stylelint:staged": "scripts/frontend/execute-on-staged-files.sh stylelint '(css|scss)' -q", "lint:stylelint:staged:fix": "yarn run lint:stylelint:staged --fix",