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