@abinnovision/eslint-config-typescript 2.2.1 → 2.2.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.2.3](https://github.com/abinnovision/js-commons/compare/eslint-config-typescript-v2.2.2...eslint-config-typescript-v2.2.3) (2025-11-08)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * trigger synthetic patch release for all packages ([0a42ee3](https://github.com/abinnovision/js-commons/commit/0a42ee36601f88ff232a41a8682266543849b3c6))
9
+
10
+ ## [2.2.2](https://github.com/abinnovision/js-commons/compare/eslint-config-typescript-v2.2.1...eslint-config-typescript-v2.2.2) (2025-11-08)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * mark eslint-config-typescript as deprecated and update README ([8618bf9](https://github.com/abinnovision/js-commons/commit/8618bf9fd5395f9bc971e6db3100fa242d0936b6))
16
+ * migrate eslint configs to use defineConfig ([#541](https://github.com/abinnovision/js-commons/issues/541)) ([eb24dca](https://github.com/abinnovision/js-commons/commit/eb24dca423b594711b727da84f4c4026f781c9e4))
17
+
3
18
  ## [2.2.1](https://github.com/abinnovision/js-commons/compare/eslint-config-typescript-v2.2.0...eslint-config-typescript-v2.2.1) (2024-12-11)
4
19
 
5
20
 
package/README.md CHANGED
@@ -1,8 +1,12 @@
1
1
  # @abinnovision/eslint-config-typescript
2
2
 
3
+ > **⚠️ DEPRECATED**: This package has been merged into
4
+ > [@abinnovision/eslint-config-base](../eslint-config-base). Please use that
5
+ > package instead, which now includes TypeScript support by default.
6
+
3
7
  ESLint config specifically for Typescript related projects. This config **must
4
8
  be used in conjunction with the
5
- [@abinnovision/eslint-config-base](https://github.com/abinnovision/js-commons/tree/master/packages/eslint-config-base)
9
+ [@abinnovision/eslint-config-base](https://github.com/abinnovision/js-commons/tree/main/packages/eslint-config-base)
6
10
  ESLint config**. This config is based on the
7
11
  [AlloyTeam ESLint Config](https://github.com/AlloyTeam/eslint-config-alloy) with
8
12
  some additional goodies on top.
package/dist/index.cjs CHANGED
@@ -35,11 +35,13 @@ __export(src_exports, {
35
35
  module.exports = __toCommonJS(src_exports);
36
36
  var import_eslint_plugin = __toESM(require("@typescript-eslint/eslint-plugin"), 1);
37
37
  var import_parser = __toESM(require("@typescript-eslint/parser"), 1);
38
+ var import_config = require("eslint/config");
38
39
  var import_typescript = __toESM(require("eslint-config-alloy/typescript.js"), 1);
39
- var config = [
40
+ var config = (0, import_config.defineConfig)([
40
41
  {
41
42
  files: ["**/*.{ts,tsx}"],
42
43
  plugins: {
44
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
43
45
  "@typescript-eslint": import_eslint_plugin.default
44
46
  },
45
47
  languageOptions: {
@@ -72,5 +74,5 @@ var config = [
72
74
  "@typescript-eslint/no-unused-vars": "off"
73
75
  }
74
76
  }
75
- ];
77
+ ]);
76
78
  var src_default = config;
package/dist/index.d.cts CHANGED
@@ -1,33 +1,5 @@
1
- import TypescriptEslintParser from '@typescript-eslint/parser';
1
+ import * as eslint_config from 'eslint/config';
2
2
 
3
- declare const config: {
4
- files: string[];
5
- plugins: {
6
- "@typescript-eslint": any;
7
- };
8
- languageOptions: {
9
- parser: typeof TypescriptEslintParser;
10
- parserOptions: {
11
- project: string;
12
- };
13
- };
14
- rules: {
15
- /**
16
- * Enforce to use `return await` for async functions.
17
- * This rule is set to "always" because it's a good practice to use
18
- * `return await` for async functions.
19
- *
20
- * NOTE: This is overridden from the base config.
21
- *
22
- * @see https://typescript-eslint.io/rules/return-await/
23
- * @see https://stackoverflow.com/questions/43353087/are-there-performance-concerns-with-return-await/70979225#70979225
24
- */
25
- "@typescript-eslint/return-await": ["warn", string];
26
- /**
27
- * Disable no-unused-vars due to unused-imports plugin
28
- */
29
- "@typescript-eslint/no-unused-vars": "off";
30
- };
31
- }[];
3
+ declare const config: eslint_config.Config[];
32
4
 
33
5
  export { config as default };
package/dist/index.d.ts CHANGED
@@ -1,33 +1,5 @@
1
- import TypescriptEslintParser from '@typescript-eslint/parser';
1
+ import * as eslint_config from 'eslint/config';
2
2
 
3
- declare const config: {
4
- files: string[];
5
- plugins: {
6
- "@typescript-eslint": any;
7
- };
8
- languageOptions: {
9
- parser: typeof TypescriptEslintParser;
10
- parserOptions: {
11
- project: string;
12
- };
13
- };
14
- rules: {
15
- /**
16
- * Enforce to use `return await` for async functions.
17
- * This rule is set to "always" because it's a good practice to use
18
- * `return await` for async functions.
19
- *
20
- * NOTE: This is overridden from the base config.
21
- *
22
- * @see https://typescript-eslint.io/rules/return-await/
23
- * @see https://stackoverflow.com/questions/43353087/are-there-performance-concerns-with-return-await/70979225#70979225
24
- */
25
- "@typescript-eslint/return-await": ["warn", string];
26
- /**
27
- * Disable no-unused-vars due to unused-imports plugin
28
- */
29
- "@typescript-eslint/no-unused-vars": "off";
30
- };
31
- }[];
3
+ declare const config: eslint_config.Config[];
32
4
 
33
5
  export { config as default };
package/dist/index.js CHANGED
@@ -1,11 +1,13 @@
1
1
  // src/index.ts
2
2
  import TypescriptEslintPlugin from "@typescript-eslint/eslint-plugin";
3
3
  import TypescriptEslintParser from "@typescript-eslint/parser";
4
+ import { defineConfig } from "eslint/config";
4
5
  import AlloyTypescript from "eslint-config-alloy/typescript.js";
5
- var config = [
6
+ var config = defineConfig([
6
7
  {
7
8
  files: ["**/*.{ts,tsx}"],
8
9
  plugins: {
10
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
9
11
  "@typescript-eslint": TypescriptEslintPlugin
10
12
  },
11
13
  languageOptions: {
@@ -38,7 +40,7 @@ var config = [
38
40
  "@typescript-eslint/no-unused-vars": "off"
39
41
  }
40
42
  }
41
- ];
43
+ ]);
42
44
  var src_default = config;
43
45
  export {
44
46
  src_default as default
package/package.json CHANGED
@@ -1,21 +1,27 @@
1
1
  {
2
2
  "name": "@abinnovision/eslint-config-typescript",
3
- "version": "2.2.1",
3
+ "version": "2.2.3",
4
+ "deprecated": "This package has been merged into @abinnovision/eslint-config-base. Please use that package instead.",
5
+ "publishConfig": {
6
+ "npm": true,
7
+ "ghpr": true,
8
+ "npmAccess": "public"
9
+ },
4
10
  "type": "module",
5
11
  "repository": {
6
12
  "url": "https://github.com/abinnovision/js-commons"
7
13
  },
8
14
  "license": "Apache-2.0",
9
15
  "author": {
10
- "name": "AB INNOVISION GmbH",
11
- "email": "info@abinnovision.com",
12
- "url": "https://abinnovision.com/"
16
+ "name": "abi group GmbH",
17
+ "email": "info@abigroup.io",
18
+ "url": "https://abigroup.io/"
13
19
  },
14
20
  "exports": {
15
21
  ".": {
22
+ "types": "./dist/index.d.ts",
16
23
  "import": "./dist/index.js",
17
- "require": "./dist/index.cjs",
18
- "types": "./dist/index.d.ts"
24
+ "require": "./dist/index.cjs"
19
25
  }
20
26
  },
21
27
  "main": "./dist/index.cjs",
@@ -42,18 +48,17 @@
42
48
  },
43
49
  "prettier": "@abinnovision/prettier-config",
44
50
  "dependencies": {
45
- "@typescript-eslint/eslint-plugin": "^8.18.0",
46
- "@typescript-eslint/parser": "^8.18.0",
51
+ "@typescript-eslint/eslint-plugin": "^8.28.0",
52
+ "@typescript-eslint/parser": "^8.28.0",
47
53
  "eslint-config-alloy": "^5.1.2"
48
54
  },
49
55
  "devDependencies": {
50
- "@abinnovision/prettier-config": "^2.1.3",
51
- "@types/eslint": "^9.6.1",
52
- "eslint": "^9.14.0",
53
- "globals": "^15.13.0",
54
- "prettier": "^3.3.3",
55
- "tsup": "^8.3.5",
56
- "typescript": "^5.7.2"
56
+ "@abinnovision/eslint-config-base": "^3.0.1",
57
+ "@abinnovision/prettier-config": "^2.1.5",
58
+ "eslint": "^9.39.1",
59
+ "prettier": "^3.4.2",
60
+ "tsup": "^8.3.6",
61
+ "typescript": "^5.9.3"
57
62
  },
58
63
  "peerDependencies": {
59
64
  "eslint": "^9.0.0"