eslint-plugin-mgw-eslint-rules 2.3.23 → 2.3.24
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/dist/index.js +30 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +30 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -44341,20 +44341,39 @@ var rule8 = createRule8({
|
|
|
44341
44341
|
{
|
|
44342
44342
|
type: "object",
|
|
44343
44343
|
description: "Map of attribute names to their allowed naming conventions (single or array).",
|
|
44344
|
-
|
|
44345
|
-
|
|
44346
|
-
|
|
44347
|
-
enum: ATTRIBUTE_CONVENTION_POSSIBLE_VALUES
|
|
44348
|
-
},
|
|
44349
|
-
{
|
|
44350
|
-
type: "array",
|
|
44351
|
-
items: {
|
|
44344
|
+
additionalProperties: {
|
|
44345
|
+
anyOf: [
|
|
44346
|
+
{
|
|
44352
44347
|
type: "string",
|
|
44353
44348
|
enum: ATTRIBUTE_CONVENTION_POSSIBLE_VALUES
|
|
44354
44349
|
},
|
|
44355
|
-
|
|
44356
|
-
|
|
44357
|
-
|
|
44350
|
+
{
|
|
44351
|
+
type: "array",
|
|
44352
|
+
items: {
|
|
44353
|
+
type: "string",
|
|
44354
|
+
enum: ATTRIBUTE_CONVENTION_POSSIBLE_VALUES
|
|
44355
|
+
},
|
|
44356
|
+
minItems: 1,
|
|
44357
|
+
uniqueItems: true
|
|
44358
|
+
},
|
|
44359
|
+
{
|
|
44360
|
+
type: "object",
|
|
44361
|
+
properties: {
|
|
44362
|
+
pattern: {
|
|
44363
|
+
type: "array",
|
|
44364
|
+
items: {
|
|
44365
|
+
type: "string"
|
|
44366
|
+
},
|
|
44367
|
+
minItems: 1,
|
|
44368
|
+
//default: [],
|
|
44369
|
+
description: "Patterns regex to test"
|
|
44370
|
+
}
|
|
44371
|
+
},
|
|
44372
|
+
required: ["pattern"],
|
|
44373
|
+
additionalProperties: false
|
|
44374
|
+
}
|
|
44375
|
+
]
|
|
44376
|
+
}
|
|
44358
44377
|
}
|
|
44359
44378
|
],
|
|
44360
44379
|
hasSuggestions: true
|