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.mjs
CHANGED
|
@@ -44333,44 +44333,37 @@ var rule8 = createRule8({
|
|
|
44333
44333
|
schema: [
|
|
44334
44334
|
{
|
|
44335
44335
|
type: "object",
|
|
44336
|
-
|
|
44337
|
-
|
|
44336
|
+
description: "Map of attribute names to their allowed naming conventions (single or array).",
|
|
44337
|
+
anyOf: [
|
|
44338
|
+
{
|
|
44339
|
+
type: "string",
|
|
44340
|
+
enum: ATTRIBUTE_CONVENTION_POSSIBLE_VALUES
|
|
44341
|
+
},
|
|
44342
|
+
{
|
|
44343
|
+
type: "array",
|
|
44344
|
+
items: {
|
|
44345
|
+
type: "string",
|
|
44346
|
+
enum: ATTRIBUTE_CONVENTION_POSSIBLE_VALUES
|
|
44347
|
+
},
|
|
44348
|
+
minItems: 1
|
|
44349
|
+
},
|
|
44350
|
+
{
|
|
44338
44351
|
type: "object",
|
|
44339
|
-
|
|
44340
|
-
|
|
44341
|
-
|
|
44342
|
-
{
|
|
44343
|
-
type: "string"
|
|
44344
|
-
enum: ATTRIBUTE_CONVENTION_POSSIBLE_VALUES
|
|
44345
|
-
},
|
|
44346
|
-
{
|
|
44347
|
-
type: "array",
|
|
44348
|
-
items: {
|
|
44349
|
-
type: "string",
|
|
44350
|
-
enum: ATTRIBUTE_CONVENTION_POSSIBLE_VALUES
|
|
44351
|
-
},
|
|
44352
|
-
minItems: 1
|
|
44352
|
+
properties: {
|
|
44353
|
+
pattern: {
|
|
44354
|
+
type: "array",
|
|
44355
|
+
items: {
|
|
44356
|
+
type: "string"
|
|
44353
44357
|
},
|
|
44354
|
-
|
|
44355
|
-
|
|
44356
|
-
|
|
44357
|
-
|
|
44358
|
-
|
|
44359
|
-
|
|
44360
|
-
|
|
44361
|
-
},
|
|
44362
|
-
minItems: 1,
|
|
44363
|
-
//default: [],
|
|
44364
|
-
description: "Patterns regex to test"
|
|
44365
|
-
}
|
|
44366
|
-
},
|
|
44367
|
-
required: ["pattern"]
|
|
44368
|
-
}
|
|
44369
|
-
]
|
|
44370
|
-
}
|
|
44358
|
+
minItems: 1,
|
|
44359
|
+
//default: [],
|
|
44360
|
+
description: "Patterns regex to test"
|
|
44361
|
+
}
|
|
44362
|
+
},
|
|
44363
|
+
required: ["pattern"],
|
|
44364
|
+
additionalProperties: false
|
|
44371
44365
|
}
|
|
44372
|
-
|
|
44373
|
-
additionalProperties: false
|
|
44366
|
+
]
|
|
44374
44367
|
}
|
|
44375
44368
|
],
|
|
44376
44369
|
hasSuggestions: true
|