Update Stylelint and Postcss

R=jacktfranklin@chromium.org

Bug: none
Change-Id: I961be18530d3ccbc4efed0c2cda9bd603b14e27b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3372931
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Tim Van der Lippe <tvanderlippe@chromium.org>
diff --git a/node_modules/stylelint/lib/utils/isStandardSyntaxDeclaration.js b/node_modules/stylelint/lib/utils/isStandardSyntaxDeclaration.js
index 89894bd..d8291be 100644
--- a/node_modules/stylelint/lib/utils/isStandardSyntaxDeclaration.js
+++ b/node_modules/stylelint/lib/utils/isStandardSyntaxDeclaration.js
@@ -18,7 +18,6 @@
 module.exports = function (decl) {
 	const prop = decl.prop;
 	const parent = decl.parent;
-	const value = decl.value;
 
 	// Declarations belong in a declaration block or standard CSS source
 	if (
@@ -32,16 +31,11 @@
 		return false;
 	}
 
-	// SCSS var
+	// SCSS var; covers map and list declarations
 	if (isScssVariable(prop)) {
 		return false;
 	}
 
-	// SCSS map and list declarations
-	if (value.startsWith('(') && value.endsWith(')')) {
-		return false;
-	}
-
 	// Less var (e.g. @var: x), but exclude variable interpolation (e.g. @{var})
 	if (prop[0] === '@' && prop[1] !== '{') {
 		return false;
@@ -52,6 +46,17 @@
 		return false;
 	}
 
+	// Less map (e.g. #my-map() { myprop: red; })
+	if (
+		parent &&
+		isRule(parent) &&
+		parent.selector &&
+		parent.selector.startsWith('#') &&
+		parent.selector.endsWith('()')
+	) {
+		return false;
+	}
+
 	// Sass nested properties (e.g. border: { style: solid; color: red; })
 	if (
 		parent &&