@abinnovision/eslint-config-typescript 2.1.1 → 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 +7 -0
- package/dist/index.cjs +5 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +5 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
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
|
+
|
|
3
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)
|
|
4
11
|
|
|
5
12
|
|
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.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/abinnovision/js-commons"
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
},
|
|
43
43
|
"prettier": "@abinnovision/prettier-config",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
46
|
-
"@typescript-eslint/parser": "^8.
|
|
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
50
|
"@abinnovision/prettier-config": "^2.1.3",
|
|
51
51
|
"@types/eslint": "^9.6.1",
|
|
52
|
-
"eslint": "^9.
|
|
52
|
+
"eslint": "^9.13.0",
|
|
53
53
|
"globals": "^15.11.0",
|
|
54
54
|
"prettier": "^3.3.3",
|
|
55
55
|
"tsup": "^8.3.0",
|