@d-zero/eslint-config 5.0.0-alpha.63 → 5.0.0-alpha.64

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.
Files changed (3) hide show
  1. package/base.js +10 -10
  2. package/package.json +10 -10
  3. package/typescript.js +1 -1
package/base.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import js from '@eslint/js';
2
2
  import comments from 'eslint-plugin-eslint-comments';
3
- import importPlugin from 'eslint-plugin-import';
3
+ import { flatConfigs as importX } from 'eslint-plugin-import-x';
4
4
  import jsdoc from 'eslint-plugin-jsdoc';
5
5
  import * as regexpPlugin from 'eslint-plugin-regexp';
6
6
  import sortClassMembers from 'eslint-plugin-sort-class-members';
@@ -52,9 +52,9 @@ export const base = [
52
52
  },
53
53
  },
54
54
  {
55
- ...eslintPluginUnicorn.configs['flat/recommended'],
55
+ ...eslintPluginUnicorn.configs.recommended,
56
56
  rules: {
57
- ...eslintPluginUnicorn.configs['flat/recommended'].rules,
57
+ ...eslintPluginUnicorn.configs.recommended.rules,
58
58
  'unicorn/consistent-destructuring': 0,
59
59
  'unicorn/consistent-function-scoping': 0,
60
60
  'unicorn/no-anonymous-default-export': 0,
@@ -71,13 +71,13 @@ export const base = [
71
71
  },
72
72
  regexpPlugin.configs['flat/recommended'],
73
73
  {
74
- ...importPlugin.flatConfigs.recommended,
74
+ ...importX.recommended,
75
75
  rules: {
76
- ...importPlugin.flatConfigs.recommended.rules,
77
- 'import/no-extraneous-dependencies': 2,
78
- 'import/no-named-as-default': 0,
79
- 'import/no-unresolved': 0,
80
- 'import/order': [
76
+ ...importX.recommended.rules,
77
+ 'import-x/no-extraneous-dependencies': 2,
78
+ 'import-x/no-named-as-default': 0,
79
+ 'import-x/no-unresolved': 0,
80
+ 'import-x/order': [
81
81
  2,
82
82
  {
83
83
  groups: ['type', 'builtin', 'external', 'parent', 'sibling', 'index', 'object'],
@@ -103,7 +103,7 @@ export const base = [
103
103
  '.*rc.{js,mjs,json}',
104
104
  ],
105
105
  rules: {
106
- 'import/no-extraneous-dependencies': 0,
106
+ 'import-x/no-extraneous-dependencies': 0,
107
107
  },
108
108
  },
109
109
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d-zero/eslint-config",
3
- "version": "5.0.0-alpha.63",
3
+ "version": "5.0.0-alpha.64",
4
4
  "description": "Configurations of ESLint",
5
5
  "repository": "https://github.com/d-zero-dev/linters.git",
6
6
  "author": "D-ZERO Co., Ltd.",
@@ -20,16 +20,16 @@
20
20
  ".": "./index.js"
21
21
  },
22
22
  "dependencies": {
23
- "@eslint/js": "9.25.1",
24
- "eslint": "9.25.1",
23
+ "@eslint/js": "9.28.0",
24
+ "eslint": "9.28.0",
25
25
  "eslint-plugin-eslint-comments": "3.2.0",
26
- "eslint-plugin-import": "2.31.0",
27
- "eslint-plugin-jsdoc": "50.6.11",
28
- "eslint-plugin-regexp": "2.7.0",
26
+ "eslint-plugin-import-x": "4.15.2",
27
+ "eslint-plugin-jsdoc": "50.8.0",
28
+ "eslint-plugin-regexp": "2.9.0",
29
29
  "eslint-plugin-sort-class-members": "1.21.0",
30
- "eslint-plugin-unicorn": "59.0.0",
31
- "globals": "16.0.0",
32
- "typescript-eslint": "8.31.0"
30
+ "eslint-plugin-unicorn": "59.0.1",
31
+ "globals": "16.2.0",
32
+ "typescript-eslint": "8.34.0"
33
33
  },
34
- "gitHead": "7bc8706d98d3eab1e1ed84b57454f441a4d016ec"
34
+ "gitHead": "9efcc82edcd2392e49218ef22ce3831f61ba566c"
35
35
  }
package/typescript.js CHANGED
@@ -14,7 +14,7 @@ export const ts = tsESLint.config(
14
14
  },
15
15
  },
16
16
  settings: {
17
- 'import/parsers': {
17
+ 'import-x/parsers': {
18
18
  '@typescript-eslint/parser': ['.ts'],
19
19
  },
20
20
  },