diff --git a/.stylelintrc.json b/.stylelintrc.json index c2d8e41..b92f43c 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -5,18 +5,22 @@ "stylelint-config-html", "stylelint-prettier/recommended" ], - "rules": { "import-notation": "string", "selector-class-pattern": null, "no-descending-specificity": null }, - "overrides": [ { - "files": ["*.astro"], + "files": ["*.astro", "**/*.astro"], "rules": { - "prettier/prettier": null + "prettier/prettier": null, + "selector-pseudo-class-no-unknown": [ + true, + { + "ignorePseudoClasses": ["global"] + } + ] } } ] diff --git a/src/components/footer.astro b/src/components/footer.astro index e7d8107..671970a 100644 --- a/src/components/footer.astro +++ b/src/components/footer.astro @@ -30,7 +30,7 @@ const t = await getTranslator(currentLocale); text-align: center; } - .footer p a { + .footer p :global(a) { font-weight: 500; color: var(--color-foreground); text-decoration: none;