@ivanmaxlogiudice/eslint-config 1.0.26 → 1.0.27

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2022-PRESENT Iván M. Lo Giudice<https://github.com/ivanmaxlogiudice>
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1
+ MIT License
2
+
3
+ Copyright (c) 2022-PRESENT Iván M. Lo Giudice<https://github.com/ivanmaxlogiudice>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
package/dist/cli.cjs CHANGED
@@ -35,15 +35,15 @@ 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.26";
38
+ var version = "1.0.27";
39
39
  var devDependencies = {
40
40
  "@stylistic/eslint-plugin-migrate": "^1.6.3",
41
41
  "@types/eslint": "^8.56.5",
42
42
  "@types/fs-extra": "^11.0.4",
43
- "@types/node": "^20.11.24",
43
+ "@types/node": "^20.11.26",
44
44
  "@types/prompts": "^2.4.9",
45
45
  "@unocss/eslint-plugin": "^0.58.5",
46
- bumpp: "^9.3.1",
46
+ bumpp: "^9.4.0",
47
47
  eslint: "^8.57.0",
48
48
  "eslint-flat-config-viewer": "^0.1.11",
49
49
  "eslint-plugin-format": "^0.1.0",
@@ -53,7 +53,7 @@ var devDependencies = {
53
53
  "lint-staged": "^15.2.2",
54
54
  "simple-git-hooks": "^2.10.0",
55
55
  tsup: "^8.0.2",
56
- typescript: "^5.3.3",
56
+ typescript: "^5.4.2",
57
57
  vitest: "^1.3.1",
58
58
  vue: "^3.4.21"
59
59
  };
package/dist/cli.js CHANGED
@@ -6,15 +6,15 @@ import c4 from "picocolors";
6
6
  import c from "picocolors";
7
7
 
8
8
  // package.json
9
- var version = "1.0.26";
9
+ var version = "1.0.27";
10
10
  var devDependencies = {
11
11
  "@stylistic/eslint-plugin-migrate": "^1.6.3",
12
12
  "@types/eslint": "^8.56.5",
13
13
  "@types/fs-extra": "^11.0.4",
14
- "@types/node": "^20.11.24",
14
+ "@types/node": "^20.11.26",
15
15
  "@types/prompts": "^2.4.9",
16
16
  "@unocss/eslint-plugin": "^0.58.5",
17
- bumpp: "^9.3.1",
17
+ bumpp: "^9.4.0",
18
18
  eslint: "^8.57.0",
19
19
  "eslint-flat-config-viewer": "^0.1.11",
20
20
  "eslint-plugin-format": "^0.1.0",
@@ -24,7 +24,7 @@ var devDependencies = {
24
24
  "lint-staged": "^15.2.2",
25
25
  "simple-git-hooks": "^2.10.0",
26
26
  tsup: "^8.0.2",
27
- typescript: "^5.3.3",
27
+ typescript: "^5.4.2",
28
28
  vitest: "^1.3.1",
29
29
  vue: "^3.4.21"
30
30
  };
package/dist/index.cjs CHANGED
@@ -1632,6 +1632,26 @@ async function vue(options = {}) {
1632
1632
  ]);
1633
1633
  return [
1634
1634
  {
1635
+ // This allows Vue plugin to work with auto imports
1636
+ // https://github.com/vuejs/eslint-plugin-vue/pull/2422
1637
+ languageOptions: {
1638
+ globals: {
1639
+ computed: "readonly",
1640
+ defineEmits: "readonly",
1641
+ defineExpose: "readonly",
1642
+ defineProps: "readonly",
1643
+ onMounted: "readonly",
1644
+ onUnmounted: "readonly",
1645
+ reactive: "readonly",
1646
+ ref: "readonly",
1647
+ shallowReactive: "readonly",
1648
+ shallowRef: "readonly",
1649
+ toRef: "readonly",
1650
+ toRefs: "readonly",
1651
+ watch: "readonly",
1652
+ watchEffect: "readonly"
1653
+ }
1654
+ },
1635
1655
  name: "config:vue:setup",
1636
1656
  plugins: {
1637
1657
  vue: pluginVue
package/dist/index.js CHANGED
@@ -1541,6 +1541,26 @@ async function vue(options = {}) {
1541
1541
  ]);
1542
1542
  return [
1543
1543
  {
1544
+ // This allows Vue plugin to work with auto imports
1545
+ // https://github.com/vuejs/eslint-plugin-vue/pull/2422
1546
+ languageOptions: {
1547
+ globals: {
1548
+ computed: "readonly",
1549
+ defineEmits: "readonly",
1550
+ defineExpose: "readonly",
1551
+ defineProps: "readonly",
1552
+ onMounted: "readonly",
1553
+ onUnmounted: "readonly",
1554
+ reactive: "readonly",
1555
+ ref: "readonly",
1556
+ shallowReactive: "readonly",
1557
+ shallowRef: "readonly",
1558
+ toRef: "readonly",
1559
+ toRefs: "readonly",
1560
+ watch: "readonly",
1561
+ watchEffect: "readonly"
1562
+ }
1563
+ },
1544
1564
  name: "config:vue:setup",
1545
1565
  plugins: {
1546
1566
  vue: pluginVue
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ivanmaxlogiudice/eslint-config",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "packageManager": "pnpm@8.15.4",
5
5
  "description": "Personal ESLint config",
6
6
  "type": "module",
@@ -52,8 +52,8 @@
52
52
  "@eslint-types/typescript-eslint": "^7.0.2",
53
53
  "@eslint-types/unicorn": "^51.0.1",
54
54
  "@stylistic/eslint-plugin": "^1.6.3",
55
- "@typescript-eslint/eslint-plugin": "^7.1.0",
56
- "@typescript-eslint/parser": "^7.1.0",
55
+ "@typescript-eslint/eslint-plugin": "^7.2.0",
56
+ "@typescript-eslint/parser": "^7.2.0",
57
57
  "cac": "^6.7.14",
58
58
  "detect-indent": "^7.0.1",
59
59
  "eslint-config-flat-gitignore": "^0.1.3",
@@ -61,17 +61,17 @@
61
61
  "eslint-plugin-antfu": "^2.1.2",
62
62
  "eslint-plugin-eslint-comments": "^3.2.0",
63
63
  "eslint-plugin-i": "^2.29.1",
64
- "eslint-plugin-jsdoc": "^48.2.0",
64
+ "eslint-plugin-jsdoc": "^48.2.1",
65
65
  "eslint-plugin-jsonc": "^2.13.0",
66
- "eslint-plugin-markdown": "^3.0.1",
66
+ "eslint-plugin-markdown": "^4.0.1",
67
67
  "eslint-plugin-n": "^16.6.2",
68
68
  "eslint-plugin-no-only-tests": "^3.1.0",
69
- "eslint-plugin-perfectionist": "^2.5.0",
69
+ "eslint-plugin-perfectionist": "^2.6.0",
70
70
  "eslint-plugin-promise": "^6.1.1",
71
71
  "eslint-plugin-unicorn": "^51.0.1",
72
72
  "eslint-plugin-unused-imports": "^3.1.0",
73
- "eslint-plugin-vitest": "^0.3.22",
74
- "eslint-plugin-vue": "^9.22.0",
73
+ "eslint-plugin-vitest": "^0.3.26",
74
+ "eslint-plugin-vue": "^9.23.0",
75
75
  "eslint-plugin-yml": "^1.12.2",
76
76
  "eslint-processor-vue-blocks": "^0.1.1",
77
77
  "globals": "^14.0.0",
@@ -87,10 +87,10 @@
87
87
  "@stylistic/eslint-plugin-migrate": "^1.6.3",
88
88
  "@types/eslint": "^8.56.5",
89
89
  "@types/fs-extra": "^11.0.4",
90
- "@types/node": "^20.11.24",
90
+ "@types/node": "^20.11.26",
91
91
  "@types/prompts": "^2.4.9",
92
92
  "@unocss/eslint-plugin": "^0.58.5",
93
- "bumpp": "^9.3.1",
93
+ "bumpp": "^9.4.0",
94
94
  "eslint": "^8.57.0",
95
95
  "eslint-flat-config-viewer": "^0.1.11",
96
96
  "eslint-plugin-format": "^0.1.0",
@@ -100,7 +100,7 @@
100
100
  "lint-staged": "^15.2.2",
101
101
  "simple-git-hooks": "^2.10.0",
102
102
  "tsup": "^8.0.2",
103
- "typescript": "^5.3.3",
103
+ "typescript": "^5.4.2",
104
104
  "vitest": "^1.3.1",
105
105
  "vue": "^3.4.21"
106
106
  },