lint
parent
0c977a785b
commit
c0d6ce53b7
|
@ -67,7 +67,7 @@ function massageAST(ast) {
|
|||
}
|
||||
|
||||
if (ast.type === "media-feature") {
|
||||
newObj.value = newObj.value.replace(/ /g, '');
|
||||
newObj.value = newObj.value.replace(/ /g, "");
|
||||
}
|
||||
|
||||
// (TypeScript) Ignore `static` in `constructor(static p) {}`
|
||||
|
|
|
@ -2669,10 +2669,10 @@ function genericPrintNoParens(path, options, print, args) {
|
|||
if (
|
||||
isURLCall &&
|
||||
(n.groups.length === 1 ||
|
||||
n.groups[0].type === "value-comma_group" &&
|
||||
n.groups[0].groups.length > 0 &&
|
||||
n.groups[0].groups[0].type === "value-word" &&
|
||||
n.groups[0].groups[0].value === "data")
|
||||
(n.groups[0].type === "value-comma_group" &&
|
||||
n.groups[0].groups.length > 0 &&
|
||||
n.groups[0].groups[0].type === "value-word" &&
|
||||
n.groups[0].groups[0].value === "data"))
|
||||
) {
|
||||
return concat([
|
||||
n.open ? path.call(print, "open") : "",
|
||||
|
|
Loading…
Reference in New Issue