eslint-plugin-perfectionist 4.12.0 → 4.12.1

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.
@@ -1,6 +1,6 @@
1
1
  'use strict'
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' })
3
3
  const name = 'eslint-plugin-perfectionist'
4
- const version = '4.12.0'
4
+ const version = '4.12.1'
5
5
  exports.name = name
6
6
  exports.version = version
@@ -410,29 +410,6 @@ const sortImports = createEslintRule.createEslintRule({
410
410
  internalPattern: commonJsonSchemas.regexJsonSchema,
411
411
  groups: commonJsonSchemas.groupsJsonSchema,
412
412
  },
413
- definitions: {
414
- 'max-line-length-requires-line-length-type': {
415
- anyOf: [
416
- {
417
- not: {
418
- required: ['maxLineLength'],
419
- type: 'object',
420
- },
421
- type: 'object',
422
- },
423
- {
424
- $ref: '#/definitions/is-line-length',
425
- },
426
- ],
427
- },
428
- 'is-line-length': {
429
- properties: {
430
- type: { enum: ['line-length'], type: 'string' },
431
- },
432
- required: ['type'],
433
- type: 'object',
434
- },
435
- },
436
413
  allOf: [
437
414
  {
438
415
  $ref: '#/definitions/max-line-length-requires-line-length-type',
@@ -445,6 +422,29 @@ const sortImports = createEslintRule.createEslintRule({
445
422
  id: 'sort-imports',
446
423
  type: 'object',
447
424
  },
425
+ definitions: {
426
+ 'max-line-length-requires-line-length-type': {
427
+ anyOf: [
428
+ {
429
+ not: {
430
+ required: ['maxLineLength'],
431
+ type: 'object',
432
+ },
433
+ type: 'object',
434
+ },
435
+ {
436
+ $ref: '#/definitions/is-line-length',
437
+ },
438
+ ],
439
+ },
440
+ 'is-line-length': {
441
+ properties: {
442
+ type: { enum: ['line-length'], type: 'string' },
443
+ },
444
+ required: ['type'],
445
+ type: 'object',
446
+ },
447
+ },
448
448
  uniqueItems: true,
449
449
  type: 'array',
450
450
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-perfectionist",
3
- "version": "4.12.0",
3
+ "version": "4.12.1",
4
4
  "description": "ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.",
5
5
  "keywords": [
6
6
  "eslint",