From 558ac411c469a19e9b32f78d4e4f7f29d46afa5f 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 d8706917885..db3355f5988 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 19e9018e83e..291bd416cee 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 275fad2e6f0..54e10616d2e 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;