@adbayb/stack 2.40.0-next-96d3848 → 2.40.0-next-c79a72a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/configs/oxlint/index.ts +7 -4
- package/dist/configs/oxlint.js +15 -7
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/configs/oxlint/index.ts
CHANGED
|
@@ -102,16 +102,19 @@ const config = defineConfig({
|
|
|
102
102
|
{
|
|
103
103
|
customGroups: [
|
|
104
104
|
{
|
|
105
|
-
elementNamePattern: "^(as|id|key|
|
|
105
|
+
elementNamePattern: "^(as|id|identifier|htmlFor|key|ref)$",
|
|
106
106
|
groupName: "id-like",
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
|
-
elementNamePattern:
|
|
110
|
-
"^(label|metadata|path_pattern|name|title)$",
|
|
109
|
+
elementNamePattern: "^(label|name|title)$",
|
|
111
110
|
groupName: "name-like",
|
|
112
111
|
},
|
|
112
|
+
{
|
|
113
|
+
elementNamePattern: "^(description|metadata)$",
|
|
114
|
+
groupName: "metadata-like",
|
|
115
|
+
},
|
|
113
116
|
],
|
|
114
|
-
groups: ["id-like", "name-like", "unknown"],
|
|
117
|
+
groups: ["id-like", "name-like", "metadata-like", "unknown"],
|
|
115
118
|
type: "natural",
|
|
116
119
|
},
|
|
117
120
|
],
|
package/dist/configs/oxlint.js
CHANGED
|
@@ -105,16 +105,24 @@ const config = defineConfig({
|
|
|
105
105
|
"sort-variable-declarations"
|
|
106
106
|
].map((ruleName) => {
|
|
107
107
|
return [`perfectionist/${ruleName}`, ["error", {
|
|
108
|
-
customGroups: [
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
108
|
+
customGroups: [
|
|
109
|
+
{
|
|
110
|
+
elementNamePattern: "^(as|id|identifier|htmlFor|key|ref)$",
|
|
111
|
+
groupName: "id-like"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
elementNamePattern: "^(label|name|title)$",
|
|
115
|
+
groupName: "name-like"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
elementNamePattern: "^(description|metadata)$",
|
|
119
|
+
groupName: "metadata-like"
|
|
120
|
+
}
|
|
121
|
+
],
|
|
115
122
|
groups: [
|
|
116
123
|
"id-like",
|
|
117
124
|
"name-like",
|
|
125
|
+
"metadata-like",
|
|
118
126
|
"unknown"
|
|
119
127
|
],
|
|
120
128
|
type: "natural"
|
package/dist/index.js
CHANGED
|
@@ -318,8 +318,8 @@ const createCheckCommand = (program) => {
|
|
|
318
318
|
}).option({
|
|
319
319
|
key: "filter",
|
|
320
320
|
name: "filter",
|
|
321
|
-
|
|
322
|
-
|
|
321
|
+
description: `Filter the compliance check to run (accepted value: ${ONLY_VALUES.join(", ")})`,
|
|
322
|
+
defaultValue: void 0
|
|
323
323
|
}).task({
|
|
324
324
|
handler(_, argv) {
|
|
325
325
|
logCheckableFiles(argv.operands);
|
|
@@ -442,7 +442,7 @@ const PRESERVE_FILES = ["node_modules"];
|
|
|
442
442
|
|
|
443
443
|
//#endregion
|
|
444
444
|
//#region package.json
|
|
445
|
-
var version = "2.40.0-next-
|
|
445
|
+
var version = "2.40.0-next-c79a72a";
|
|
446
446
|
|
|
447
447
|
//#endregion
|
|
448
448
|
//#region src/commands/create.ts
|