From b2be64848cbc7a63eaf915746782ce995c3b39e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Fri, 17 May 2024 02:34:33 +0200 Subject: [PATCH] Ignore legislation_process nesting in stylelint This file was generated by a different developer who ignored the nesting rules. Refactoring it has been in our TODO list for years, but we haven't done it yet. Since we want stylelint to check that there are no errors after the changes in a pull request, but we've still got errors in this file, we're ignoring them for now. --- .stylelintrc.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.stylelintrc.yml b/.stylelintrc.yml index ab5fc95f9..6fcae1119 100644 --- a/.stylelintrc.yml +++ b/.stylelintrc.yml @@ -89,3 +89,8 @@ rules: "@stylistic/color-hex-case": "lower" "@stylistic/number-leading-zero": "always" "@stylistic/selector-list-comma-newline-after": always +overrides: + - files: app/assets/stylesheets/legislation_process.scss + rules: + max-nesting-depth: 8 + selector-max-compound-selectors: 8