@ivanmaxlogiudice/eslint-config 3.0.3 → 3.0.4
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.js +10 -10
- package/dist/index.js +9 -11
- package/package.json +10 -10
package/dist/cli.js
CHANGED
|
@@ -11,7 +11,7 @@ import c from "picocolors";
|
|
|
11
11
|
// package.json
|
|
12
12
|
var package_default = {
|
|
13
13
|
name: "@ivanmaxlogiudice/eslint-config",
|
|
14
|
-
version: "3.0.
|
|
14
|
+
version: "3.0.4",
|
|
15
15
|
packageManager: "bun@1.1.29",
|
|
16
16
|
description: "Personal ESLint config",
|
|
17
17
|
type: "module",
|
|
@@ -84,19 +84,19 @@ var package_default = {
|
|
|
84
84
|
dependencies: {
|
|
85
85
|
"@clack/prompts": "^0.7.0",
|
|
86
86
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
|
|
87
|
-
"@eslint/markdown": "^6.1.
|
|
87
|
+
"@eslint/markdown": "^6.1.1",
|
|
88
88
|
"@ivanmaxlogiudice/gitignore": "^0.0.2",
|
|
89
89
|
"@stylistic/eslint-plugin": "^2.8.0",
|
|
90
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
91
|
-
"@typescript-eslint/parser": "^8.
|
|
90
|
+
"@typescript-eslint/eslint-plugin": "^8.7.0",
|
|
91
|
+
"@typescript-eslint/parser": "^8.7.0",
|
|
92
92
|
"@vitest/eslint-plugin": "^1.1.4",
|
|
93
93
|
"eslint-plugin-antfu": "^2.7.0",
|
|
94
94
|
"eslint-plugin-import-x": "^4.3.0",
|
|
95
|
-
"eslint-plugin-jsdoc": "^50.
|
|
95
|
+
"eslint-plugin-jsdoc": "^50.3.0",
|
|
96
96
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
97
97
|
"eslint-plugin-n": "^17.10.3",
|
|
98
98
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
99
|
-
"eslint-plugin-perfectionist": "^3.
|
|
99
|
+
"eslint-plugin-perfectionist": "^3.7.0",
|
|
100
100
|
"eslint-plugin-unicorn": "^55.0.0",
|
|
101
101
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
102
102
|
globals: "^15.9.0",
|
|
@@ -108,12 +108,12 @@ var package_default = {
|
|
|
108
108
|
devDependencies: {
|
|
109
109
|
"@eslint/config-inspector": "^0.5.4",
|
|
110
110
|
"@stylistic/eslint-plugin-migrate": "^2.8.0",
|
|
111
|
-
"@types/node": "^22.
|
|
111
|
+
"@types/node": "^22.7.4",
|
|
112
112
|
"@types/yargs": "^17.0.33",
|
|
113
|
-
"@unocss/eslint-plugin": "^0.
|
|
114
|
-
bumpp: "^9.
|
|
113
|
+
"@unocss/eslint-plugin": "^0.63.1",
|
|
114
|
+
bumpp: "^9.6.1",
|
|
115
115
|
"bun-types": "^1.1.29",
|
|
116
|
-
eslint: "^9.11.
|
|
116
|
+
eslint: "^9.11.1",
|
|
117
117
|
"eslint-plugin-markdown": "^5.1.0",
|
|
118
118
|
"eslint-plugin-regexp": "^2.6.0",
|
|
119
119
|
"eslint-plugin-vue": "^9.28.0",
|
package/dist/index.js
CHANGED
|
@@ -115,14 +115,6 @@ async function disables() {
|
|
|
115
115
|
"unused-imports/no-unused-vars": "off"
|
|
116
116
|
}
|
|
117
117
|
},
|
|
118
|
-
{
|
|
119
|
-
name: "ivanmaxlogiudice/disables/test",
|
|
120
|
-
files: ["**/*.{test,spec}.([tj])s?(x)"],
|
|
121
|
-
rules: {
|
|
122
|
-
"antfu/no-top-level-await": "off",
|
|
123
|
-
"no-unused-expressions": "off"
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
118
|
{
|
|
127
119
|
name: "ivanmaxlogiudice/disables/cjs",
|
|
128
120
|
files: ["**/*.js", "**/*.cjs"],
|
|
@@ -611,6 +603,7 @@ async function markdown(options = {}) {
|
|
|
611
603
|
}
|
|
612
604
|
},
|
|
613
605
|
rules: {
|
|
606
|
+
"antfu/no-top-level-await": "off",
|
|
614
607
|
"import/newline-after-import": "off",
|
|
615
608
|
"no-alert": "off",
|
|
616
609
|
"no-console": "off",
|
|
@@ -994,15 +987,20 @@ async function test(options = {}) {
|
|
|
994
987
|
name: "ivanmaxlogiudice/test/rules",
|
|
995
988
|
files,
|
|
996
989
|
rules: {
|
|
997
|
-
"node/prefer-global/process": "off",
|
|
998
990
|
"test/consistent-test-it": ["error", { fn: "it", withinDescribe: "it" }],
|
|
999
991
|
"test/no-identical-title": "error",
|
|
1000
992
|
"test/no-import-node-test": "error",
|
|
1001
993
|
"test/no-only-tests": isInEditor ? "off" : "error",
|
|
1002
994
|
"test/prefer-hooks-in-order": "error",
|
|
1003
995
|
"test/prefer-lowercase-title": "error",
|
|
1004
|
-
|
|
1005
|
-
|
|
996
|
+
// Disables
|
|
997
|
+
...{
|
|
998
|
+
"antfu/no-top-level-await": "off",
|
|
999
|
+
"no-unused-expressions": "off",
|
|
1000
|
+
"node/prefer-global/process": "off",
|
|
1001
|
+
"ts/explicit-function-return-type": "off",
|
|
1002
|
+
"unicorn/consistent-function-scoping": "off"
|
|
1003
|
+
},
|
|
1006
1004
|
...overrides
|
|
1007
1005
|
}
|
|
1008
1006
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ivanmaxlogiudice/eslint-config",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"packageManager": "bun@1.1.29",
|
|
5
5
|
"description": "Personal ESLint config",
|
|
6
6
|
"type": "module",
|
|
@@ -73,19 +73,19 @@
|
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@clack/prompts": "^0.7.0",
|
|
75
75
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
|
|
76
|
-
"@eslint/markdown": "^6.1.
|
|
76
|
+
"@eslint/markdown": "^6.1.1",
|
|
77
77
|
"@ivanmaxlogiudice/gitignore": "^0.0.2",
|
|
78
78
|
"@stylistic/eslint-plugin": "^2.8.0",
|
|
79
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
80
|
-
"@typescript-eslint/parser": "^8.
|
|
79
|
+
"@typescript-eslint/eslint-plugin": "^8.7.0",
|
|
80
|
+
"@typescript-eslint/parser": "^8.7.0",
|
|
81
81
|
"@vitest/eslint-plugin": "^1.1.4",
|
|
82
82
|
"eslint-plugin-antfu": "^2.7.0",
|
|
83
83
|
"eslint-plugin-import-x": "^4.3.0",
|
|
84
|
-
"eslint-plugin-jsdoc": "^50.
|
|
84
|
+
"eslint-plugin-jsdoc": "^50.3.0",
|
|
85
85
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
86
86
|
"eslint-plugin-n": "^17.10.3",
|
|
87
87
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
88
|
-
"eslint-plugin-perfectionist": "^3.
|
|
88
|
+
"eslint-plugin-perfectionist": "^3.7.0",
|
|
89
89
|
"eslint-plugin-unicorn": "^55.0.0",
|
|
90
90
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
91
91
|
"globals": "^15.9.0",
|
|
@@ -97,12 +97,12 @@
|
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"@eslint/config-inspector": "^0.5.4",
|
|
99
99
|
"@stylistic/eslint-plugin-migrate": "^2.8.0",
|
|
100
|
-
"@types/node": "^22.
|
|
100
|
+
"@types/node": "^22.7.4",
|
|
101
101
|
"@types/yargs": "^17.0.33",
|
|
102
|
-
"@unocss/eslint-plugin": "^0.
|
|
103
|
-
"bumpp": "^9.
|
|
102
|
+
"@unocss/eslint-plugin": "^0.63.1",
|
|
103
|
+
"bumpp": "^9.6.1",
|
|
104
104
|
"bun-types": "^1.1.29",
|
|
105
|
-
"eslint": "^9.11.
|
|
105
|
+
"eslint": "^9.11.1",
|
|
106
106
|
"eslint-plugin-markdown": "^5.1.0",
|
|
107
107
|
"eslint-plugin-regexp": "^2.6.0",
|
|
108
108
|
"eslint-plugin-vue": "^9.28.0",
|