eslint-plugin-perfectionist 4.12.1 → 4.12.2

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.1'
4
+ const version = '4.12.2'
5
5
  exports.name = name
6
6
  exports.version = version
@@ -419,7 +419,6 @@ const sortImports = createEslintRule.createEslintRule({
419
419
  maxLineLength: ['type'],
420
420
  },
421
421
  additionalProperties: false,
422
- id: 'sort-imports',
423
422
  type: 'object',
424
423
  },
425
424
  definitions: {
@@ -445,6 +444,7 @@ const sortImports = createEslintRule.createEslintRule({
445
444
  type: 'object',
446
445
  },
447
446
  },
447
+ id: 'sort-imports',
448
448
  uniqueItems: true,
449
449
  type: 'array',
450
450
  },
@@ -35,7 +35,6 @@ let isPartitionComment = ({ partitionByComment, comment }) => {
35
35
  relevantPartitionByComment = partitionByComment.line
36
36
  }
37
37
  return (
38
- // eslint-disable-next-line no-undefined
39
38
  relevantPartitionByComment !== void 0 &&
40
39
  isTrimmedCommentPartitionComment({
41
40
  partitionByComment: relevantPartitionByComment,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-perfectionist",
3
- "version": "4.12.1",
3
+ "version": "4.12.2",
4
4
  "description": "ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.",
5
5
  "keywords": [
6
6
  "eslint",