@azat-io/eslint-config 2.70.0 → 2.72.0

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 (2) hide show
  1. package/dist/core/index.js +6 -23
  2. package/package.json +14 -15
@@ -1,7 +1,7 @@
1
1
  import eslintCommentsPlugin from "@eslint-community/eslint-plugin-eslint-comments";
2
2
  import preferLetPlugin from "eslint-plugin-prefer-let";
3
3
  import deMorganPlugin from "eslint-plugin-de-morgan";
4
- import importXPlugin from "eslint-plugin-import-x";
4
+ import importPlugin from "eslint-plugin-import-lite";
5
5
  import promisePlugin from "eslint-plugin-promise";
6
6
  import sonarjsPlugin from "eslint-plugin-sonarjs";
7
7
  import unicornPlugin from "eslint-plugin-unicorn";
@@ -45,7 +45,7 @@ function core(config) {
45
45
  plugins: {
46
46
  "de-morgan": deMorganPlugin,
47
47
  "eslint-comments": eslintCommentsPlugin,
48
- "import-x": importXPlugin,
48
+ import: importPlugin,
49
49
  jsdoc: jsdocPlugin,
50
50
  "prefer-let": preferLetPlugin,
51
51
  promise: promisePlugin,
@@ -333,28 +333,11 @@ function core(config) {
333
333
  "eslint-comments/no-aggregating-enable": "error",
334
334
  "eslint-comments/no-duplicate-disable": "error",
335
335
  "eslint-comments/no-unlimited-disable": "error",
336
- "eslint-comments/no-unused-disable": "error",
337
336
  "eslint-comments/no-unused-enable": "error",
338
- "import-x/consistent-type-specifier-style": ["error", "prefer-top-level"],
339
- "import-x/export": "error",
340
- "import-x/first": "error",
341
- "import-x/newline-after-import": "error",
342
- "import-x/no-absolute-path": "error",
343
- "import-x/no-amd": "error",
344
- "import-x/no-empty-named-blocks": "error",
345
- "import-x/no-extraneous-dependencies": [
346
- "error",
347
- {
348
- devDependencies: true,
349
- optionalDependencies: false,
350
- peerDependencies: false
351
- }
352
- ],
353
- "import-x/no-import-module-exports": "error",
354
- "import-x/no-named-default": "error",
355
- "import-x/no-self-import": "error",
356
- "import-x/no-useless-path-segments": "error",
357
- "import-x/no-webpack-loader-syntax": "error",
337
+ "import/consistent-type-specifier-style": ["error", "prefer-top-level"],
338
+ "import/first": "error",
339
+ "import/newline-after-import": "error",
340
+ "import/no-named-default": "error",
358
341
  "jsdoc/check-access": "error",
359
342
  "jsdoc/check-alignment": "error",
360
343
  "jsdoc/check-param-names": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azat-io/eslint-config",
3
- "version": "2.70.0",
3
+ "version": "2.72.0",
4
4
  "description": "ESLint shareable config",
5
5
  "keywords": [
6
6
  "eslint",
@@ -27,19 +27,18 @@
27
27
  "./dist"
28
28
  ],
29
29
  "dependencies": {
30
- "@eslint-community/eslint-plugin-eslint-comments": "^4.6.0",
31
- "@vitest/eslint-plugin": "1.6.9",
30
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
31
+ "@vitest/eslint-plugin": "1.6.10",
32
32
  "astro-eslint-parser": "^1.3.0",
33
33
  "eslint-config-flat-gitignore": "^2.2.1",
34
- "eslint-import-resolver-typescript": "^4.4.4",
35
34
  "eslint-plugin-astro": "^1.6.0",
36
- "eslint-plugin-de-morgan": "^2.0.0",
37
- "eslint-plugin-depend": "^1.4.0",
38
- "eslint-plugin-import-x": "^4.16.1",
39
- "eslint-plugin-jsdoc": "^62.7.0",
35
+ "eslint-plugin-de-morgan": "^2.1.1",
36
+ "eslint-plugin-depend": "^1.5.0",
37
+ "eslint-plugin-import-lite": "^0.5.2",
38
+ "eslint-plugin-jsdoc": "^62.7.1",
40
39
  "eslint-plugin-jsx-a11y": "^6.10.2",
41
40
  "eslint-plugin-n": "^17.24.0",
42
- "eslint-plugin-package-json": "^0.89.1",
41
+ "eslint-plugin-package-json": "^0.89.4",
43
42
  "eslint-plugin-perfectionist": "^5.6.0",
44
43
  "eslint-plugin-prefer-let": "^4.1.0",
45
44
  "eslint-plugin-promise": "^7.2.1",
@@ -52,15 +51,15 @@
52
51
  "eslint-plugin-react-perf": "^3.3.3",
53
52
  "eslint-plugin-react-web-api": "^2.13.0",
54
53
  "eslint-plugin-react-x": "^2.13.0",
55
- "eslint-plugin-regexp": "^3.0.0",
56
- "eslint-plugin-sonarjs": "^4.0.0",
57
- "eslint-plugin-svelte": "^3.15.0",
54
+ "eslint-plugin-regexp": "^3.1.0",
55
+ "eslint-plugin-sonarjs": "^4.0.1",
56
+ "eslint-plugin-svelte": "^3.15.1",
58
57
  "eslint-plugin-unicorn": "^63.0.0",
59
58
  "eslint-plugin-vue": "^10.8.0",
60
- "globals": "^17.3.0",
59
+ "globals": "^17.4.0",
61
60
  "jsonc-eslint-parser": "^3.1.0",
62
- "svelte-eslint-parser": "^1.5.0",
63
- "typescript-eslint": "^8.56.1",
61
+ "svelte-eslint-parser": "^1.6.0",
62
+ "typescript-eslint": "^8.57.0",
64
63
  "vue-eslint-parser": "^10.4.0"
65
64
  },
66
65
  "peerDependencies": {