@ivanmaxlogiudice/eslint-config 1.0.18 → 1.0.20

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/cli.cjs CHANGED
@@ -35,17 +35,17 @@ var import_picocolors4 = __toESM(require("picocolors"), 1);
35
35
  var import_picocolors = __toESM(require("picocolors"), 1);
36
36
 
37
37
  // package.json
38
- var version = "1.0.18";
38
+ var version = "1.0.20";
39
39
  var devDependencies = {
40
- "@stylistic/eslint-plugin-migrate": "^1.5.1",
41
- "@types/eslint": "^8.56.0",
40
+ "@stylistic/eslint-plugin-migrate": "^1.5.3",
41
+ "@types/eslint": "^8.56.2",
42
42
  "@types/fs-extra": "^11.0.4",
43
- "@types/node": "^20.10.5",
43
+ "@types/node": "^20.11.0",
44
44
  "@types/prompts": "^2.4.9",
45
- "@unocss/eslint-plugin": "^0.58.0",
45
+ "@unocss/eslint-plugin": "^0.58.3",
46
46
  bumpp: "^9.2.1",
47
47
  eslint: "^8.56.0",
48
- "eslint-flat-config-viewer": "^0.1.3",
48
+ "eslint-flat-config-viewer": "^0.1.8",
49
49
  "eslint-plugin-format": "^0.1.0",
50
50
  execa: "^8.0.1",
51
51
  "fast-glob": "^3.3.2",
@@ -54,8 +54,8 @@ var devDependencies = {
54
54
  "simple-git-hooks": "^2.9.0",
55
55
  tsup: "^8.0.1",
56
56
  typescript: "^5.3.3",
57
- vitest: "^1.1.0",
58
- vue: "^3.3.13"
57
+ vitest: "^1.2.0",
58
+ vue: "^3.4.13"
59
59
  };
60
60
 
61
61
  // src/cli/constants.ts
package/dist/cli.js CHANGED
@@ -6,17 +6,17 @@ import c4 from "picocolors";
6
6
  import c from "picocolors";
7
7
 
8
8
  // package.json
9
- var version = "1.0.18";
9
+ var version = "1.0.20";
10
10
  var devDependencies = {
11
- "@stylistic/eslint-plugin-migrate": "^1.5.1",
12
- "@types/eslint": "^8.56.0",
11
+ "@stylistic/eslint-plugin-migrate": "^1.5.3",
12
+ "@types/eslint": "^8.56.2",
13
13
  "@types/fs-extra": "^11.0.4",
14
- "@types/node": "^20.10.5",
14
+ "@types/node": "^20.11.0",
15
15
  "@types/prompts": "^2.4.9",
16
- "@unocss/eslint-plugin": "^0.58.0",
16
+ "@unocss/eslint-plugin": "^0.58.3",
17
17
  bumpp: "^9.2.1",
18
18
  eslint: "^8.56.0",
19
- "eslint-flat-config-viewer": "^0.1.3",
19
+ "eslint-flat-config-viewer": "^0.1.8",
20
20
  "eslint-plugin-format": "^0.1.0",
21
21
  execa: "^8.0.1",
22
22
  "fast-glob": "^3.3.2",
@@ -25,8 +25,8 @@ var devDependencies = {
25
25
  "simple-git-hooks": "^2.9.0",
26
26
  tsup: "^8.0.1",
27
27
  typescript: "^5.3.3",
28
- vitest: "^1.1.0",
29
- vue: "^3.3.13"
28
+ vitest: "^1.2.0",
29
+ vue: "^3.4.13"
30
30
  };
31
31
 
32
32
  // src/cli/constants.ts
package/dist/index.cjs CHANGED
@@ -662,7 +662,6 @@ async function javascript(options = {}) {
662
662
  "TSEnumDeclaration[const=true]",
663
663
  "TSExportAssignment"
664
664
  ],
665
- "no-return-assign": ["error", "except-parens"],
666
665
  "no-self-assign": ["error", {
667
666
  props: true
668
667
  }],
@@ -1881,7 +1880,8 @@ async function config(options = {}, ...userConfigs) {
1881
1880
  if (enableTypeScript) {
1882
1881
  configs.push(typescript({
1883
1882
  ...resolveSubOptions(options, "typescript"),
1884
- componentExts
1883
+ componentExts,
1884
+ overrides: getOverrides(options, "typescript")
1885
1885
  }));
1886
1886
  }
1887
1887
  if (stylisticOptions) {
@@ -1905,6 +1905,7 @@ async function config(options = {}, ...userConfigs) {
1905
1905
  if (enableVue) {
1906
1906
  configs.push(vue({
1907
1907
  ...resolveSubOptions(options, "vue"),
1908
+ overrides: getOverrides(options, "vue"),
1908
1909
  stylistic: stylisticOptions,
1909
1910
  typescript: !!enableTypeScript
1910
1911
  }));
package/dist/index.js CHANGED
@@ -571,7 +571,6 @@ async function javascript(options = {}) {
571
571
  "TSEnumDeclaration[const=true]",
572
572
  "TSExportAssignment"
573
573
  ],
574
- "no-return-assign": ["error", "except-parens"],
575
574
  "no-self-assign": ["error", {
576
575
  props: true
577
576
  }],
@@ -1790,7 +1789,8 @@ async function config(options = {}, ...userConfigs) {
1790
1789
  if (enableTypeScript) {
1791
1790
  configs.push(typescript({
1792
1791
  ...resolveSubOptions(options, "typescript"),
1793
- componentExts
1792
+ componentExts,
1793
+ overrides: getOverrides(options, "typescript")
1794
1794
  }));
1795
1795
  }
1796
1796
  if (stylisticOptions) {
@@ -1814,6 +1814,7 @@ async function config(options = {}, ...userConfigs) {
1814
1814
  if (enableVue) {
1815
1815
  configs.push(vue({
1816
1816
  ...resolveSubOptions(options, "vue"),
1817
+ overrides: getOverrides(options, "vue"),
1817
1818
  stylistic: stylisticOptions,
1818
1819
  typescript: !!enableTypeScript
1819
1820
  }));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ivanmaxlogiudice/eslint-config",
3
- "version": "1.0.18",
4
- "packageManager": "pnpm@8.12.1",
3
+ "version": "1.0.20",
4
+ "packageManager": "pnpm@8.14.1",
5
5
  "description": "Personal ESLint config",
6
6
  "type": "module",
7
7
  "keywords": [
@@ -48,12 +48,12 @@
48
48
  "dependencies": {
49
49
  "@antfu/eslint-define-config": "1.23.0-2",
50
50
  "@antfu/install-pkg": "^0.3.1",
51
- "@eslint-types/jsdoc": "46.9.0",
52
- "@eslint-types/typescript-eslint": "^6.12.0",
53
- "@eslint-types/unicorn": "^49.0.0",
54
- "@stylistic/eslint-plugin": "^1.5.1",
55
- "@typescript-eslint/eslint-plugin": "^6.16.0",
56
- "@typescript-eslint/parser": "^6.16.0",
51
+ "@eslint-types/jsdoc": "48.0.2",
52
+ "@eslint-types/typescript-eslint": "^6.18.1",
53
+ "@eslint-types/unicorn": "^50.0.1",
54
+ "@stylistic/eslint-plugin": "^1.5.3",
55
+ "@typescript-eslint/eslint-plugin": "^6.18.1",
56
+ "@typescript-eslint/parser": "^6.18.1",
57
57
  "cac": "^6.7.14",
58
58
  "detect-indent": "^7.0.1",
59
59
  "eslint-config-flat-gitignore": "^0.1.2",
@@ -61,17 +61,17 @@
61
61
  "eslint-plugin-antfu": "^2.1.1",
62
62
  "eslint-plugin-eslint-comments": "^3.2.0",
63
63
  "eslint-plugin-i": "^2.29.1",
64
- "eslint-plugin-jsdoc": "^46.9.1",
64
+ "eslint-plugin-jsdoc": "^48.0.2",
65
65
  "eslint-plugin-jsonc": "^2.11.2",
66
66
  "eslint-plugin-markdown": "^3.0.1",
67
- "eslint-plugin-n": "^16.5.0",
67
+ "eslint-plugin-n": "^16.6.2",
68
68
  "eslint-plugin-no-only-tests": "^3.1.0",
69
69
  "eslint-plugin-perfectionist": "^2.5.0",
70
70
  "eslint-plugin-promise": "^6.1.1",
71
71
  "eslint-plugin-unicorn": "^50.0.1",
72
72
  "eslint-plugin-unused-imports": "^3.0.0",
73
73
  "eslint-plugin-vitest": "^0.3.20",
74
- "eslint-plugin-vue": "^9.19.2",
74
+ "eslint-plugin-vue": "^9.20.1",
75
75
  "eslint-plugin-yml": "^1.11.0",
76
76
  "eslint-processor-vue-blocks": "^0.1.1",
77
77
  "globals": "^13.24.0",
@@ -80,19 +80,19 @@
80
80
  "parse-gitignore": "^2.0.0",
81
81
  "picocolors": "^1.0.0",
82
82
  "prompts": "^2.4.2",
83
- "vue-eslint-parser": "^9.3.2",
83
+ "vue-eslint-parser": "^9.4.0",
84
84
  "yaml-eslint-parser": "^1.2.2"
85
85
  },
86
86
  "devDependencies": {
87
- "@stylistic/eslint-plugin-migrate": "^1.5.1",
88
- "@types/eslint": "^8.56.0",
87
+ "@stylistic/eslint-plugin-migrate": "^1.5.3",
88
+ "@types/eslint": "^8.56.2",
89
89
  "@types/fs-extra": "^11.0.4",
90
- "@types/node": "^20.10.5",
90
+ "@types/node": "^20.11.0",
91
91
  "@types/prompts": "^2.4.9",
92
- "@unocss/eslint-plugin": "^0.58.0",
92
+ "@unocss/eslint-plugin": "^0.58.3",
93
93
  "bumpp": "^9.2.1",
94
94
  "eslint": "^8.56.0",
95
- "eslint-flat-config-viewer": "^0.1.3",
95
+ "eslint-flat-config-viewer": "^0.1.8",
96
96
  "eslint-plugin-format": "^0.1.0",
97
97
  "execa": "^8.0.1",
98
98
  "fast-glob": "^3.3.2",
@@ -101,8 +101,8 @@
101
101
  "simple-git-hooks": "^2.9.0",
102
102
  "tsup": "^8.0.1",
103
103
  "typescript": "^5.3.3",
104
- "vitest": "^1.1.0",
105
- "vue": "^3.3.13"
104
+ "vitest": "^1.2.0",
105
+ "vue": "^3.4.13"
106
106
  },
107
107
  "engines": {
108
108
  "node": ">=18.12.0"