@ntnyq/eslint-config 3.0.0-beta.13 → 3.0.0-beta.14
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/index.cjs +13 -10
- package/dist/index.js +13 -10
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -256,6 +256,15 @@ var typescriptCore = (options = {}) => {
|
|
|
256
256
|
}
|
|
257
257
|
},
|
|
258
258
|
rules: {
|
|
259
|
+
// Disabled in favor of ts rules
|
|
260
|
+
"no-redeclare": "off",
|
|
261
|
+
"@typescript-eslint/no-redeclare": [
|
|
262
|
+
"error",
|
|
263
|
+
{
|
|
264
|
+
builtinGlobals: false,
|
|
265
|
+
ignoreDeclarationMerge: true
|
|
266
|
+
}
|
|
267
|
+
],
|
|
259
268
|
"@typescript-eslint/no-unused-vars": [
|
|
260
269
|
"error",
|
|
261
270
|
{
|
|
@@ -269,12 +278,6 @@ var typescriptCore = (options = {}) => {
|
|
|
269
278
|
ignoreRestSiblings: true
|
|
270
279
|
}
|
|
271
280
|
],
|
|
272
|
-
"@typescript-eslint/no-redeclare": [
|
|
273
|
-
"error",
|
|
274
|
-
{
|
|
275
|
-
builtinGlobals: false
|
|
276
|
-
}
|
|
277
|
-
],
|
|
278
281
|
"@typescript-eslint/no-unused-expressions": [
|
|
279
282
|
"error",
|
|
280
283
|
{
|
|
@@ -320,10 +323,10 @@ var typescriptCore = (options = {}) => {
|
|
|
320
323
|
"@typescript-eslint/explicit-member-accessibility": "off",
|
|
321
324
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
322
325
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
323
|
-
"@typescript-eslint/consistent-indexed-object-style": "off"
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
326
|
+
"@typescript-eslint/consistent-indexed-object-style": "off",
|
|
327
|
+
// Overrides built-in rules
|
|
328
|
+
...options.overrides
|
|
329
|
+
}
|
|
327
330
|
});
|
|
328
331
|
return configs;
|
|
329
332
|
};
|
package/dist/index.js
CHANGED
|
@@ -134,6 +134,15 @@ var typescriptCore = (options = {}) => {
|
|
|
134
134
|
}
|
|
135
135
|
},
|
|
136
136
|
rules: {
|
|
137
|
+
// Disabled in favor of ts rules
|
|
138
|
+
"no-redeclare": "off",
|
|
139
|
+
"@typescript-eslint/no-redeclare": [
|
|
140
|
+
"error",
|
|
141
|
+
{
|
|
142
|
+
builtinGlobals: false,
|
|
143
|
+
ignoreDeclarationMerge: true
|
|
144
|
+
}
|
|
145
|
+
],
|
|
137
146
|
"@typescript-eslint/no-unused-vars": [
|
|
138
147
|
"error",
|
|
139
148
|
{
|
|
@@ -147,12 +156,6 @@ var typescriptCore = (options = {}) => {
|
|
|
147
156
|
ignoreRestSiblings: true
|
|
148
157
|
}
|
|
149
158
|
],
|
|
150
|
-
"@typescript-eslint/no-redeclare": [
|
|
151
|
-
"error",
|
|
152
|
-
{
|
|
153
|
-
builtinGlobals: false
|
|
154
|
-
}
|
|
155
|
-
],
|
|
156
159
|
"@typescript-eslint/no-unused-expressions": [
|
|
157
160
|
"error",
|
|
158
161
|
{
|
|
@@ -198,10 +201,10 @@ var typescriptCore = (options = {}) => {
|
|
|
198
201
|
"@typescript-eslint/explicit-member-accessibility": "off",
|
|
199
202
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
200
203
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
201
|
-
"@typescript-eslint/consistent-indexed-object-style": "off"
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
204
|
+
"@typescript-eslint/consistent-indexed-object-style": "off",
|
|
205
|
+
// Overrides built-in rules
|
|
206
|
+
...options.overrides
|
|
207
|
+
}
|
|
205
208
|
});
|
|
206
209
|
return configs;
|
|
207
210
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ntnyq/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.0-beta.
|
|
4
|
+
"version": "3.0.0-beta.14",
|
|
5
5
|
"packageManager": "pnpm@9.10.0",
|
|
6
6
|
"description": "An opinionated ESLint config preset of ntnyq",
|
|
7
7
|
"keywords": [
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"eslint-plugin-antfu": "^2.6.0",
|
|
68
68
|
"eslint-plugin-command": "^0.2.5",
|
|
69
69
|
"eslint-plugin-import-x": "^4.2.1",
|
|
70
|
-
"eslint-plugin-jsdoc": "^50.2.
|
|
70
|
+
"eslint-plugin-jsdoc": "^50.2.4",
|
|
71
71
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
72
|
-
"eslint-plugin-n": "^17.10.
|
|
72
|
+
"eslint-plugin-n": "^17.10.3",
|
|
73
73
|
"eslint-plugin-perfectionist": "^3.6.0",
|
|
74
74
|
"eslint-plugin-prettier": "^5.2.1",
|
|
75
75
|
"eslint-plugin-regexp": "^2.6.0",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"tsup": "^8.3.0",
|
|
102
102
|
"tsx": "^4.19.1",
|
|
103
103
|
"typescript": "^5.6.2",
|
|
104
|
-
"zx": "^8.1.
|
|
104
|
+
"zx": "^8.1.7"
|
|
105
105
|
},
|
|
106
106
|
"engines": {
|
|
107
107
|
"node": ">=18.18.0"
|