From 675fff259aa3fae3e8ff14a5f55ad99f9f2db065 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 5 Jan 2023 07:42:13 -0500 Subject: [PATCH] Expand Stylelint glob to include CSS files (#22469) --- lib/assets/wordmark.dark.css | 2 +- package.json | 2 +- public/inert.css | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/assets/wordmark.dark.css b/lib/assets/wordmark.dark.css index d870691788..db3355f598 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 19e9018e83..291bd416ce 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 275fad2e6f..54e10616d2 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;