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