Skip to content

Commit d4cd516

Browse files
committed
fix font-family-no-duplicate-names manually
1 parent b2d85ca commit d4cd516

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.stylelintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ module.exports = {
4848
'declaration-block-no-redundant-longhand-properties': null, // 12 errors
4949
'value-no-vendor-prefix': null, // 9 errors
5050
'font-family-no-missing-generic-family-keyword': null, // 8 errors
51-
'font-family-no-duplicate-names': null, // 2 errors
5251
'function-linear-gradient-no-nonstandard-direction': null, // 1 error
5352
'at-rule-no-vendor-prefix': null, // 1 error
5453
},

src/themes/default/globals/reset.overrides

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ hr {
6262
*/
6363

6464
pre {
65+
// https://github.com/necolas/normalize.css/issues/519
66+
// stylelint-disable-next-line font-family-no-duplicate-name
6567
font-family: monospace, monospace; /* 1 */
6668
font-size: 1em; /* 2 */
6769
}
@@ -105,6 +107,8 @@ strong {
105107
code,
106108
kbd,
107109
samp {
110+
// https://github.com/necolas/normalize.css/issues/519
111+
// stylelint-disable-next-line font-family-no-duplicate-name
108112
font-family: monospace, monospace; /* 1 */
109113
font-size: 1em; /* 2 */
110114
}

0 commit comments

Comments
 (0)