eslint-config-complete 3.1.4 → 3.2.1
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-import-x.d.ts","sourceRoot":"","sources":["../../src/base/base-import-x.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"base-import-x.d.ts","sourceRoot":"","sources":["../../src/base/base-import-x.js"],"names":[],"mappings":"AA6OA;;;;;;;;;GASG;AACH,gGA6HE"}
|
|
@@ -45,6 +45,7 @@ const HELPFUL_WARNINGS = {
|
|
|
45
45
|
"**/tests/**/*.{js,cjs,mjs,ts,cts,mts}", // Files inside of a "tests" directory.
|
|
46
46
|
"**/esbuild.config.{js,cjs,mjs,ts,cts,mts}",
|
|
47
47
|
"**/eslint.config.{js,cjs,mjs,ts,cts,mts}",
|
|
48
|
+
"**/eslint.config.*.{js,cjs,mjs,ts,cts,mts}",
|
|
48
49
|
"**/eslint-doc-generator.config.{js,cjs,mjs,ts,cts,mts}",
|
|
49
50
|
"**/prettier.config.{js,cjs,mjs,ts,cts,mts}",
|
|
50
51
|
"**/typedoc.config.{js,cjs,mjs,ts,cts,mts}",
|
|
@@ -252,6 +253,10 @@ export const baseImportX = defineConfig({
|
|
|
252
253
|
"eslint.config.mjs",
|
|
253
254
|
"eslint.config.ts",
|
|
254
255
|
"eslint.config.mts",
|
|
256
|
+
"eslint.config.*.js",
|
|
257
|
+
"eslint.config.*.mjs",
|
|
258
|
+
"eslint.config.*.ts",
|
|
259
|
+
"eslint.config.*.mts",
|
|
255
260
|
"eslint-doc-generator.config.js",
|
|
256
261
|
"eslint-doc-generator.config.mjs",
|
|
257
262
|
"jest.config.js",
|
|
@@ -284,6 +289,12 @@ export const baseImportX = defineConfig({
|
|
|
284
289
|
"eslint.config.ts",
|
|
285
290
|
"eslint.config.cts",
|
|
286
291
|
"eslint.config.mts",
|
|
292
|
+
"eslint.config.*.js",
|
|
293
|
+
"eslint.config.*.cjs",
|
|
294
|
+
"eslint.config.*.mjs",
|
|
295
|
+
"eslint.config.*.ts",
|
|
296
|
+
"eslint.config.*.cts",
|
|
297
|
+
"eslint.config.*.mts",
|
|
287
298
|
],
|
|
288
299
|
rules: {
|
|
289
300
|
// TypeScript projects that use "complete-lint" have a false positive when importing
|
|
@@ -293,7 +304,10 @@ export const baseImportX = defineConfig({
|
|
|
293
304
|
"import-x/no-extraneous-dependencies": [
|
|
294
305
|
"warn",
|
|
295
306
|
{
|
|
296
|
-
devDependencies: [
|
|
307
|
+
devDependencies: [
|
|
308
|
+
"**/eslint.config.{js,cjs,mjs,ts,cts,mts}",
|
|
309
|
+
"**/eslint.config.*.{js,cjs,mjs,ts,cts,mts}",
|
|
310
|
+
],
|
|
297
311
|
optionalDependencies: false,
|
|
298
312
|
whitelist: ["eslint", "eslint-config-complete"],
|
|
299
313
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-typescript-eslint.d.ts","sourceRoot":"","sources":["../../src/base/base-typescript-eslint.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,
|
|
1
|
+
{"version":3,"file":"base-typescript-eslint.d.ts","sourceRoot":"","sources":["../../src/base/base-typescript-eslint.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,yGA0kBE"}
|
|
@@ -21,15 +21,21 @@ export const baseTypeScriptESLint = defineConfig({
|
|
|
21
21
|
"babel.config.js",
|
|
22
22
|
"babel.config.cjs",
|
|
23
23
|
"babel.config.mjs",
|
|
24
|
-
"eslint.config.js",
|
|
25
|
-
"eslint.config.cjs",
|
|
26
24
|
"esbuild.config.js",
|
|
27
25
|
"esbuild.config.cjs",
|
|
28
26
|
"esbuild.config.mjs",
|
|
27
|
+
"eslint.config.js",
|
|
28
|
+
"eslint.config.cjs",
|
|
29
29
|
"eslint.config.mjs",
|
|
30
30
|
"eslint.config.ts",
|
|
31
31
|
"eslint.config.cts",
|
|
32
32
|
"eslint.config.mts",
|
|
33
|
+
"eslint.config.*.js",
|
|
34
|
+
"eslint.config.*.cjs",
|
|
35
|
+
"eslint.config.*.mjs",
|
|
36
|
+
"eslint.config.*.ts",
|
|
37
|
+
"eslint.config.*.cts",
|
|
38
|
+
"eslint.config.*.mts",
|
|
33
39
|
"eslint-doc-generator.config.js",
|
|
34
40
|
"eslint-doc-generator.config.cjs",
|
|
35
41
|
"eslint-doc-generator.config.mjs",
|
package/dist/base.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.js"],"names":[],"mappings":"AAUA;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.js"],"names":[],"mappings":"AAUA;;;;;GAKG;AACH,uGAkBE"}
|
package/dist/base.js
CHANGED
|
@@ -14,14 +14,7 @@ import { baseUnicorn } from "./base/base-unicorn.js";
|
|
|
14
14
|
* originating plugin) .
|
|
15
15
|
*/
|
|
16
16
|
export const completeConfigBase = defineConfig(...baseESLint, ...baseTypeScriptESLint, ...baseStylistic, ...baseImportX, ...baseJSDoc, ...baseN, // "n" stands for Node.
|
|
17
|
-
...baseUnicorn, ...baseComplete,
|
|
18
|
-
// We prefer the official `reportUnusedDisableDirectives` linter option over the 3rd-party plugin
|
|
19
|
-
// of "eslint-plugin-eslint-comments".
|
|
20
|
-
{
|
|
21
|
-
linterOptions: {
|
|
22
|
-
reportUnusedDisableDirectives: "warn",
|
|
23
|
-
},
|
|
24
|
-
}, {
|
|
17
|
+
...baseUnicorn, ...baseComplete, {
|
|
25
18
|
// By default, ESLint ignores "**/node_modules/" and ".git/":
|
|
26
19
|
// https://eslint.org/docs/latest/use/configure/ignore#ignoring-files
|
|
27
20
|
// We also want to ignore:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-complete",
|
|
3
|
-
"version": "3.1
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "A sharable ESLint config for TypeScript projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"eslint-plugin-complete": "1.1.3",
|
|
39
39
|
"eslint-plugin-eslint-plugin": "7.0.0",
|
|
40
40
|
"eslint-plugin-import-x": "4.16.1",
|
|
41
|
-
"eslint-plugin-jsdoc": "61.1.
|
|
41
|
+
"eslint-plugin-jsdoc": "61.1.1",
|
|
42
42
|
"eslint-plugin-n": "17.23.1",
|
|
43
43
|
"eslint-plugin-unicorn": "61.0.2",
|
|
44
44
|
"jsonc-eslint-parser": "2.4.1",
|