Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

linter: Lint grid-area names for quotation marks.

Karl Stolley6e3e8c9edeeb
diff --git a/stylelint.config.js b/stylelint.config.js
index 53feeb88105..44953fd3e61 100644
--- a/stylelint.config.js
+++ b/stylelint.config.js
@@ -28,6 +28,9 @@ module.exports = {
"/^(border(-top|-right|-bottom|-left)?|outline)(-width)?$/": [
/\b(thin|medium|thick)\b/,
],
+ // no quotation marks around grid-area; use
+ // `grid-area: my_area`, not `grid-area: "my_area"`
+ "grid-area": [/".*"/],
},
"function-disallowed-list": [
// We use hsl instead of rgb