Skip to content

Commit dcbedcf

Browse files
committed
re-add selector-type-no-unknown
1 parent 6719d8f commit dcbedcf

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

frontend/static/funbox/crt.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ body.crtmode #caret {
101101
}
102102

103103
body.crtmode #paceCaret,
104-
body.crtmode key,
104+
body.crtmode key, /* cannot find what the key selector refers to */
105105
body.crtmode #bannerCenter .banner {
106106
box-shadow:
107107
3px 0 1px var(--crt-sub-color-glow),

stylelint.config.mjs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ export default {
1414
], //default: true
1515

1616
"at-rule-no-unknown": null, // consider adding
17-
"selector-type-no-unknown": null, // add // default: [true, {ignore: ['custom-elements'],},]
17+
"selector-type-no-unknown": [
18+
true,
19+
{ ignore: ["custom-elements"], ignoreTypes: ["letter", "hint", "key"] },
20+
], // default: [true, {ignore: ['custom-elements'],},]
1821

1922
"length-zero-no-unit": null, // default: [true, {ignore: ['custom-properties'], ignorePreludeOfAtRules: ['function', 'mixin'],},]
2023

@@ -57,11 +60,6 @@ export default {
5760
files: ["**/*.scss"],
5861
extends: ["stylelint-config-standard-scss"],
5962
rules: {
60-
"selector-type-no-unknown": [
61-
true,
62-
{ ignore: ["custom-elements"], ignoreTypes: ["letter", "hint"] },
63-
], // default: [true, {ignore: ['custom-elements'],},]
64-
6563
"scss/at-extend-no-missing-placeholder": null,
6664
"scss/load-no-partial-leading-underscore": null,
6765
"scss/load-partial-extension": null, // default: never,

0 commit comments

Comments
 (0)