Skip to content

Commit f4b03b7

Browse files
committed
re-add font-family-no-missing-generic-family-keyword
1 parent 81fc9b1 commit f4b03b7

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

stylelint.config.mjs

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,16 @@
22
export default {
33
extends: ["stylelint-config-standard"],
44
rules: {
5-
"font-family-no-missing-generic-family-keyword": null, // add
5+
"font-family-no-missing-generic-family-keyword": [
6+
true,
7+
{
8+
ignoreFontFamilies: [
9+
"Font Awesome",
10+
"Font Awesome Brands",
11+
"Gallaudet",
12+
],
13+
},
14+
], //default: true
615

716
"declaration-block-no-shorthand-property-overrides": null, // add
817

@@ -51,11 +60,6 @@ export default {
5160
files: ["**/*.scss"],
5261
extends: ["stylelint-config-standard-scss"],
5362
rules: {
54-
"font-family-no-missing-generic-family-keyword": [
55-
true,
56-
{ ignoreFontFamilies: ["Font Awesome", "Font Awesome Brands"] },
57-
], //default: true
58-
5963
"selector-type-no-unknown": [
6064
true,
6165
{ ignore: ["custom-elements"], ignoreTypes: ["letter", "hint"] },

0 commit comments

Comments
 (0)