eslint-config-complete 4.1.2 → 4.1.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.
@@ -1,4 +1,4 @@
1
- import ESLintPluginImportX from "eslint-plugin-import-x";
1
+ import esLintPluginImportX from "eslint-plugin-import-x";
2
2
  import { defineConfig } from "eslint/config";
3
3
  /**
4
4
  * @type {Record<string, import("@typescript-eslint/utils").TSESLint.SharedConfig.RuleEntry>}
@@ -189,7 +189,7 @@ const ALL_EXTENSIONS = [
189
189
  export const baseImportX = defineConfig({
190
190
  plugins: {
191
191
  // @ts-expect-error https://github.com/un-ts/eslint-plugin-import-x/issues/421
192
- "import-x": ESLintPluginImportX,
192
+ "import-x": esLintPluginImportX,
193
193
  },
194
194
  // Beyond just specifying the plugin, additional configuration is necessary to make the plugin
195
195
  // work properly with TypeScript:
@@ -1,4 +1,4 @@
1
- import ESLintPluginJSDoc from "eslint-plugin-jsdoc";
1
+ import esLintPluginJSDoc from "eslint-plugin-jsdoc";
2
2
  import { defineConfig } from "eslint/config";
3
3
  /**
4
4
  * This ESLint config only contains rules from `eslint-plugin-jsdoc`:
@@ -6,7 +6,7 @@ import { defineConfig } from "eslint/config";
6
6
  */
7
7
  export const baseJSDoc = defineConfig({
8
8
  plugins: {
9
- jsdoc: ESLintPluginJSDoc,
9
+ jsdoc: esLintPluginJSDoc,
10
10
  },
11
11
  rules: {
12
12
  /** Disabled because it is not needed in TypeScript. */
@@ -1,4 +1,4 @@
1
- import ESLintPluginN from "eslint-plugin-n";
1
+ import esLintPluginN from "eslint-plugin-n";
2
2
  import { defineConfig } from "eslint/config";
3
3
  /**
4
4
  * This ESLint config only contains rules from `eslint-plugin-n`:
@@ -7,7 +7,7 @@ import { defineConfig } from "eslint/config";
7
7
  */
8
8
  export const baseN = defineConfig({
9
9
  plugins: {
10
- n: ESLintPluginN,
10
+ n: esLintPluginN,
11
11
  },
12
12
  rules: {
13
13
  /** Disabled since stylistic rules from this plugin are not used. */
@@ -1,4 +1,4 @@
1
- import ESLintPluginStylistic from "@stylistic/eslint-plugin";
1
+ import esLintPluginStylistic from "@stylistic/eslint-plugin";
2
2
  import { defineConfig } from "eslint/config";
3
3
  /**
4
4
  * This ESLint config only contains rules from `@stylistic/eslint-plugin`:
@@ -6,7 +6,7 @@ import { defineConfig } from "eslint/config";
6
6
  */
7
7
  export const baseStylistic = defineConfig({
8
8
  plugins: {
9
- "@stylistic": ESLintPluginStylistic,
9
+ "@stylistic": esLintPluginStylistic,
10
10
  },
11
11
  rules: {
12
12
  /** This rule is not handled by Prettier, so we must use ESLint to enforce it. */
@@ -1 +1 @@
1
- {"version":3,"file":"base-typescript-eslint.d.ts","sourceRoot":"","sources":["../../src/base/base-typescript-eslint.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,oEAoiBE"}
1
+ {"version":3,"file":"base-typescript-eslint.d.ts","sourceRoot":"","sources":["../../src/base/base-typescript-eslint.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,oEAqiBE"}
@@ -297,6 +297,7 @@ export const baseTypeScriptESLint = defineConfig({
297
297
  /** Disabled because it can prevent code from being structured sequentially. */
298
298
  "@typescript-eslint/no-use-before-define": "off",
299
299
  "@typescript-eslint/no-useless-constructor": "error",
300
+ "@typescript-eslint/no-useless-default-assignment": "error",
300
301
  "@typescript-eslint/no-useless-empty-export": "error",
301
302
  "@typescript-eslint/no-var-requires": "error",
302
303
  "@typescript-eslint/no-wrapper-object-types": "error",
@@ -1,4 +1,4 @@
1
- import ESLintPluginUnicorn from "eslint-plugin-unicorn";
1
+ import esLintPluginUnicorn from "eslint-plugin-unicorn";
2
2
  import { defineConfig } from "eslint/config";
3
3
  /**
4
4
  * This ESLint config only contains rules from `eslint-plugin-unicorn`:
@@ -6,7 +6,7 @@ import { defineConfig } from "eslint/config";
6
6
  */
7
7
  export const baseUnicorn = defineConfig({
8
8
  plugins: {
9
- unicorn: ESLintPluginUnicorn,
9
+ unicorn: esLintPluginUnicorn,
10
10
  },
11
11
  rules: {
12
12
  "unicorn/better-regex": "error",
package/dist/base.js CHANGED
@@ -1,4 +1,4 @@
1
- import ESLintPluginComplete from "eslint-plugin-complete";
1
+ import esLintPluginComplete from "eslint-plugin-complete";
2
2
  import { defineConfig } from "eslint/config";
3
3
  import { baseESLint } from "./base/base-eslint.js";
4
4
  import { baseImportX } from "./base/base-import-x.js";
@@ -21,7 +21,7 @@ export const completeConfigBase = defineConfig(
21
21
  ...baseUnicorn,
22
22
  // TODO: The `defineConfig` helper function is bugged.
23
23
  // @ts-expect-error https://github.com/typescript-eslint/typescript-eslint/issues/11543
24
- ...ESLintPluginComplete.configs.recommended, {
24
+ ...esLintPluginComplete.configs.recommended, {
25
25
  // By default, ESLint ignores "**/node_modules/" and ".git/":
26
26
  // https://eslint.org/docs/latest/use/configure/ignore#ignoring-files
27
27
  // We also want to ignore:
@@ -1,4 +1,4 @@
1
- import ESLintPluginESLintPlugin from "eslint-plugin-eslint-plugin";
1
+ import esLintPluginESLintPlugin from "eslint-plugin-eslint-plugin";
2
2
  import { defineConfig } from "eslint/config";
3
3
  /**
4
4
  * This ESLint config is meant to be used as a base for all TypeScript projects.
@@ -8,7 +8,7 @@ import { defineConfig } from "eslint/config";
8
8
  */
9
9
  export const completeConfigESLintPlugin = defineConfig({
10
10
  plugins: {
11
- "eslint-plugin": ESLintPluginESLintPlugin,
11
+ "eslint-plugin": esLintPluginESLintPlugin,
12
12
  },
13
13
  rules: {
14
14
  "eslint-plugin/consistent-output": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-complete",
3
- "version": "4.1.2",
3
+ "version": "4.1.4",
4
4
  "description": "A sharable ESLint config for TypeScript projects.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -35,22 +35,22 @@
35
35
  "@stylistic/eslint-plugin": "5.6.1",
36
36
  "confusing-browser-globals": "1.0.11",
37
37
  "eslint-import-resolver-typescript": "4.4.4",
38
- "eslint-plugin-complete": "1.2.1",
38
+ "eslint-plugin-complete": "1.2.4",
39
39
  "eslint-plugin-eslint-plugin": "7.2.0",
40
40
  "eslint-plugin-import-x": "4.16.1",
41
- "eslint-plugin-jsdoc": "61.4.1",
41
+ "eslint-plugin-jsdoc": "61.5.0",
42
42
  "eslint-plugin-n": "17.23.1",
43
43
  "eslint-plugin-unicorn": "62.0.0",
44
- "jsonc-eslint-parser": "2.4.1",
45
- "typescript-eslint": "8.48.0"
44
+ "jsonc-eslint-parser": "2.4.2",
45
+ "typescript-eslint": "8.51.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@eslint/js": "9.39.1",
48
+ "@eslint/js": "9.39.2",
49
49
  "@types/confusing-browser-globals": "1.0.3",
50
50
  "@types/eslint-config-prettier": "6.11.3",
51
- "@types/node": "24.10.1",
52
- "complete-common": "2.10.0",
53
- "complete-node": "12.5.1",
51
+ "@types/node": "25.0.3",
52
+ "complete-common": "2.11.0",
53
+ "complete-node": "16.2.0",
54
54
  "eslint-config-prettier": "10.1.8",
55
55
  "extract-comments": "1.1.0",
56
56
  "typescript": "5.9.3"