@abinnovision/eslint-config-typescript 2.1.0 → 2.2.0

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,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.2.0](https://github.com/abinnovision/js-commons/compare/eslint-config-typescript-v2.1.1...eslint-config-typescript-v2.2.0) (2024-10-24)
4
+
5
+
6
+ ### Features
7
+
8
+ * **eslint:** add unused-imports plugin and update rules ([#356](https://github.com/abinnovision/js-commons/issues/356)) ([303352c](https://github.com/abinnovision/js-commons/commit/303352c986709a06ec7a02aff322ce2e5dcf7342))
9
+
10
+ ## [2.1.1](https://github.com/abinnovision/js-commons/compare/eslint-config-typescript-v2.1.0...eslint-config-typescript-v2.1.1) (2024-10-16)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * migrate to Linter.Config type ([#340](https://github.com/abinnovision/js-commons/issues/340)) ([30a1c19](https://github.com/abinnovision/js-commons/commit/30a1c19c3a2f4c2b94e6086486951145b399e15d))
16
+ * only support eslint v9 ([#345](https://github.com/abinnovision/js-commons/issues/345)) ([7425fdc](https://github.com/abinnovision/js-commons/commit/7425fdc9c2d8912988697ab07b9a8f42d96786d4))
17
+ * use spaces for markdown files ([#349](https://github.com/abinnovision/js-commons/issues/349)) ([eeb8b33](https://github.com/abinnovision/js-commons/commit/eeb8b335916602b55ca02cfdea352bc296fa7ffb))
18
+
3
19
  ## [2.1.0](https://github.com/abinnovision/js-commons/compare/eslint-config-typescript-v2.0.0...eslint-config-typescript-v2.1.0) (2024-08-05)
4
20
 
5
21
 
package/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # @abinnovision/eslint-config-typescript
2
2
 
3
3
  ESLint config specifically for Typescript related projects. This config **must
4
- be used in conjunction with
5
- the [@abinnovision/eslint-config-base](https://github.com/abinnovision/js-commons/tree/master/packages/eslint-config-base)
6
- ESLint config**. This config is based on
7
- the [AlloyTeam ESLint Config](https://github.com/AlloyTeam/eslint-config-alloy)
8
- with some additional goodies on top.
4
+ be used in conjunction with the
5
+ [@abinnovision/eslint-config-base](https://github.com/abinnovision/js-commons/tree/master/packages/eslint-config-base)
6
+ ESLint config**. This config is based on the
7
+ [AlloyTeam ESLint Config](https://github.com/AlloyTeam/eslint-config-alloy) with
8
+ some additional goodies on top.
9
9
 
10
10
  ## Installation
11
11
 
package/dist/index.cjs CHANGED
@@ -65,7 +65,11 @@ var config = [
65
65
  * @see https://typescript-eslint.io/rules/return-await/
66
66
  * @see https://stackoverflow.com/questions/43353087/are-there-performance-concerns-with-return-await/70979225#70979225
67
67
  */
68
- "@typescript-eslint/return-await": ["warn", "always"]
68
+ "@typescript-eslint/return-await": ["warn", "always"],
69
+ /**
70
+ * Disable no-unused-vars due to unused-imports plugin
71
+ */
72
+ "@typescript-eslint/no-unused-vars": "off"
69
73
  }
70
74
  }
71
75
  ];
package/dist/index.d.cts CHANGED
@@ -23,6 +23,10 @@ declare const config: {
23
23
  * @see https://stackoverflow.com/questions/43353087/are-there-performance-concerns-with-return-await/70979225#70979225
24
24
  */
25
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";
26
30
  };
27
31
  }[];
28
32
 
package/dist/index.d.ts CHANGED
@@ -23,6 +23,10 @@ declare const config: {
23
23
  * @see https://stackoverflow.com/questions/43353087/are-there-performance-concerns-with-return-await/70979225#70979225
24
24
  */
25
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";
26
30
  };
27
31
  }[];
28
32
 
package/dist/index.js CHANGED
@@ -31,7 +31,11 @@ var config = [
31
31
  * @see https://typescript-eslint.io/rules/return-await/
32
32
  * @see https://stackoverflow.com/questions/43353087/are-there-performance-concerns-with-return-await/70979225#70979225
33
33
  */
34
- "@typescript-eslint/return-await": ["warn", "always"]
34
+ "@typescript-eslint/return-await": ["warn", "always"],
35
+ /**
36
+ * Disable no-unused-vars due to unused-imports plugin
37
+ */
38
+ "@typescript-eslint/no-unused-vars": "off"
35
39
  }
36
40
  }
37
41
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abinnovision/eslint-config-typescript",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "url": "https://github.com/abinnovision/js-commons"
@@ -42,21 +42,20 @@
42
42
  },
43
43
  "prettier": "@abinnovision/prettier-config",
44
44
  "dependencies": {
45
- "@typescript-eslint/eslint-plugin": "^8.0.0",
46
- "@typescript-eslint/parser": "^8.0.0",
45
+ "@typescript-eslint/eslint-plugin": "^8.10.0",
46
+ "@typescript-eslint/parser": "^8.10.0",
47
47
  "eslint-config-alloy": "^5.1.2"
48
48
  },
49
49
  "devDependencies": {
50
- "@abinnovision/prettier-config": "^2.1.0",
51
- "@types/eslint": "^9.6.0",
52
- "eslint": "^9.8.0",
53
- "globals": "^15.9.0",
50
+ "@abinnovision/prettier-config": "^2.1.3",
51
+ "@types/eslint": "^9.6.1",
52
+ "eslint": "^9.13.0",
53
+ "globals": "^15.11.0",
54
54
  "prettier": "^3.3.3",
55
- "tsup": "^8.2.4",
56
- "typescript": "^5.5.4"
55
+ "tsup": "^8.3.0",
56
+ "typescript": "^5.6.3"
57
57
  },
58
58
  "peerDependencies": {
59
- "eslint": "^8.24.0 || ^9.0.0"
60
- },
61
- "packageManager": "yarn@3.4.1"
59
+ "eslint": "^9.0.0"
60
+ }
62
61
  }