about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-01-05 07:42:13 -0500
committerGitHub <noreply@github.com>2023-01-05 13:42:13 +0100
commit558ac411c469a19e9b32f78d4e4f7f29d46afa5f (patch)
treec6c78ea1ab79d4fd26481a99e55f850a4190d0d3
parentacec1fb745456dd3093ac31291c3757e55f39160 (diff)
Expand Stylelint glob to include CSS files (#22469)
-rw-r--r--lib/assets/wordmark.dark.css2
-rw-r--r--package.json2
-rw-r--r--public/inert.css3
3 files changed, 4 insertions, 3 deletions
diff --git a/lib/assets/wordmark.dark.css b/lib/assets/wordmark.dark.css
index d87069178..db3355f59 100644
--- a/lib/assets/wordmark.dark.css
+++ b/lib/assets/wordmark.dark.css
@@ -1 +1 @@
-// Not needed
+/* Not needed */
diff --git a/package.json b/package.json
index 19e9018e8..291bd416c 100644
--- a/package.json
+++ b/package.json
@@ -13,7 +13,7 @@
     "test": "${npm_execpath} run test:lint:js && ${npm_execpath} run test:jest",
     "test:lint": "${npm_execpath} run test:lint:js && ${npm_execpath} run test:lint:sass",
     "test:lint:js": "eslint --ext=js . --cache",
-    "test:lint:sass": "stylelint '**/*.scss'",
+    "test:lint:sass": "stylelint \"**/*.{css,scss}\"",
     "test:jest": "cross-env NODE_ENV=test jest",
     "format": "prettier --write \"**/*.{json,yml}\"",
     "format-check": "prettier --check \"**/*.{json,yml}\""
diff --git a/public/inert.css b/public/inert.css
index 275fad2e6..54e10616d 100644
--- a/public/inert.css
+++ b/public/inert.css
@@ -3,7 +3,8 @@
   cursor: default;
 }
 
-[inert], [inert] * {
+[inert],
+[inert] * {
   user-select: none;
   -webkit-user-select: none;
   -moz-user-select: none;