Skip to content

Commit 5e62614

Browse files
committed
lint package.json keywords
1 parent 27c26c1 commit 5e62614

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/bin/format-package-json.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ const formatted = {};
209209
const keywords = new Set(formatted.keywords);
210210
keywords.forEach((keyword) => keywords.delete(keyword + 's')); // poor mans pluralize, we only want singular words as keywords
211211
formatted.keywords = Array.from(keywords);
212-
formatted.keywords.sort();
212+
formatted.keywords.sort((a, b) => a.localeCompare(b));
213213
}
214214

215215
if (Object.keys(packageJSONInfo.csstools ?? {}).length) {

plugins/postcss-attribute-case-insensitive/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@
6767
},
6868
"bugs": "https://github.com/csstools/postcss-plugins/issues",
6969
"keywords": [
70-
"CSS4",
7170
"attribute",
7271
"css",
72+
"CSS4",
7373
"insensitive",
7474
"postcss",
7575
"postcss-plugin",

0 commit comments

Comments
 (0)