[ci] yarn format

This commit is contained in:
matthewp 2021-06-14 16:01:54 +00:00 committed by GitHub Actions
parent 0b16b2ddd0
commit 3db6914137

View file

@ -14,22 +14,7 @@ const CSS_SEPARATORS = new Set([' ', ',', '+', '>', '~']);
const KEYFRAME_PERCENT = /\d+\.?\d*%/; const KEYFRAME_PERCENT = /\d+\.?\d*%/;
/** HTML tags that should never get scoped classes */ /** HTML tags that should never get scoped classes */
export const NEVER_SCOPED_TAGS = new Set<string>([ export const NEVER_SCOPED_TAGS = new Set<string>(['base', 'body', 'font', 'frame', 'frameset', 'head', 'html', 'link', 'meta', 'noframes', 'noscript', 'script', 'style', 'title']);
'base',
'body',
'font',
'frame',
'frameset',
'head',
'html',
'link',
'meta',
'noframes',
'noscript',
'script',
'style',
'title'
]);
/** /**
* Scope Rules * Scope Rules
* Given a selector string (`.btn>span,.nav>span`), add an additional CSS class to every selector (`.btn.myClass>span.myClass,.nav.myClass>span.myClass`) * Given a selector string (`.btn>span,.nav>span`), add an additional CSS class to every selector (`.btn.myClass>span.myClass,.nav.myClass>span.myClass`)