From 444b8c339090f72b847eeb5c61c1bfbdb8c2086e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Fri, 17 May 2024 02:50:30 +0200 Subject: [PATCH] Ignore stylelint false positive in datepicker overrides We can't simply remove the nesting selector in this case since it's inside a `:not` pseudo-class. Removing the nesting selector would cause a syntax error. --- .stylelintrc.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.stylelintrc.yml b/.stylelintrc.yml index 5231e306d..778a41fc6 100644 --- a/.stylelintrc.yml +++ b/.stylelintrc.yml @@ -90,6 +90,9 @@ rules: "@stylistic/number-leading-zero": "always" "@stylistic/selector-list-comma-newline-after": always overrides: + - files: app/assets/stylesheets/datepicker_overrides.scss + rules: + scss/selector-no-redundant-nesting-selector: null - files: app/assets/stylesheets/legislation_process.scss rules: max-nesting-depth: 8