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