@darksheep/eslint 4.4.11 โ 4.4.12
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 +19 -0
- package/package.json +8 -8
- package/src/plugins/unused-imports.js +4 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.4.12](https://github.com/DarkSheepSoftware/eslint/compare/v4.4.11...v4.4.12) (2024-05-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ๐ฆ Dependencies
|
|
7
|
+
|
|
8
|
+
* **dev:** update dependency type-fest to v4.18.3 ([#439](https://github.com/DarkSheepSoftware/eslint/issues/439)) ([6b1cf5e](https://github.com/DarkSheepSoftware/eslint/commit/6b1cf5e6bd8f1cf6fd522273f30f2e4455f961d9))
|
|
9
|
+
* **lock:** lock file maintenance ([#440](https://github.com/DarkSheepSoftware/eslint/issues/440)) ([ba9363b](https://github.com/DarkSheepSoftware/eslint/commit/ba9363b2c9850aa05954011e93d5f0a0353947cb))
|
|
10
|
+
* **pkg:** update dependency eslint-plugin-jsdoc to v48.2.6 ([#435](https://github.com/DarkSheepSoftware/eslint/issues/435)) ([c81877a](https://github.com/DarkSheepSoftware/eslint/commit/c81877a8cba530ba4ebc341f36f5d2d147545dae))
|
|
11
|
+
* **pkg:** update dependency eslint-plugin-jsonc to v2.16.0 ([#438](https://github.com/DarkSheepSoftware/eslint/issues/438)) ([c34f1f6](https://github.com/DarkSheepSoftware/eslint/commit/c34f1f6098ad3f86c11549701ca3f13978ad9c51))
|
|
12
|
+
* **pkg:** update dependency eslint-plugin-promise to v6.2.0 ([#441](https://github.com/DarkSheepSoftware/eslint/issues/441)) ([1d1362f](https://github.com/DarkSheepSoftware/eslint/commit/1d1362f5b691dbad32535d87bc90a8cb34543eab))
|
|
13
|
+
* **pkg:** update dependency eslint-plugin-react to v7.34.2 ([#443](https://github.com/DarkSheepSoftware/eslint/issues/443)) ([c664a7e](https://github.com/DarkSheepSoftware/eslint/commit/c664a7eab2927560825c6223af5e5601beb53506))
|
|
14
|
+
* **pkg:** update dependency eslint-plugin-unused-imports to v4 ([#437](https://github.com/DarkSheepSoftware/eslint/issues/437)) ([f6bfbfb](https://github.com/DarkSheepSoftware/eslint/commit/f6bfbfbddcf72c5b56ed660c5fe78882949e5368))
|
|
15
|
+
* **pkg:** update typescript-eslint monorepo to v7.11.0 ([#442](https://github.com/DarkSheepSoftware/eslint/issues/442)) ([6f2e846](https://github.com/DarkSheepSoftware/eslint/commit/6f2e846ccc1283c8626fd80da06ac0499b171670))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### ๐งน Chores
|
|
19
|
+
|
|
20
|
+
* Merge no-unused-imports ([73a3d7f](https://github.com/DarkSheepSoftware/eslint/commit/73a3d7f35832b57021124b3469d516bb1f7bac77))
|
|
21
|
+
|
|
3
22
|
## [4.4.11](https://github.com/DarkSheepSoftware/eslint/compare/v4.4.10...v4.4.11) (2024-05-22)
|
|
4
23
|
|
|
5
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@darksheep/eslint",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.12",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/DarkSheepSoftware/eslint"
|
|
@@ -26,23 +26,23 @@
|
|
|
26
26
|
"@eslint/eslintrc": "3.1.0",
|
|
27
27
|
"@eslint/js": "9.3.0",
|
|
28
28
|
"@stylistic/eslint-plugin": "2.1.0",
|
|
29
|
-
"@typescript-eslint/eslint-plugin": "7.
|
|
30
|
-
"@typescript-eslint/parser": "7.
|
|
29
|
+
"@typescript-eslint/eslint-plugin": "7.11.0",
|
|
30
|
+
"@typescript-eslint/parser": "7.11.0",
|
|
31
31
|
"editorconfig": "2.0.0",
|
|
32
32
|
"eslint": "8.57.0",
|
|
33
33
|
"eslint-plugin-jest": "28.5.0",
|
|
34
|
-
"eslint-plugin-jsdoc": "48.2.
|
|
35
|
-
"eslint-plugin-jsonc": "2.
|
|
34
|
+
"eslint-plugin-jsdoc": "48.2.6",
|
|
35
|
+
"eslint-plugin-jsonc": "2.16.0",
|
|
36
36
|
"eslint-plugin-jsx-a11y": "6.8.0",
|
|
37
37
|
"eslint-plugin-n": "17.7.0",
|
|
38
38
|
"eslint-plugin-package-json": "0.13.1",
|
|
39
|
-
"eslint-plugin-promise": "6.
|
|
40
|
-
"eslint-plugin-react": "7.34.
|
|
39
|
+
"eslint-plugin-promise": "6.2.0",
|
|
40
|
+
"eslint-plugin-react": "7.34.2",
|
|
41
41
|
"eslint-plugin-regexp": "2.6.0",
|
|
42
42
|
"eslint-plugin-security": "3.0.0",
|
|
43
43
|
"eslint-plugin-sonarjs": "1.0.3",
|
|
44
44
|
"eslint-plugin-unicorn": "53.0.0",
|
|
45
|
-
"eslint-plugin-unused-imports": "
|
|
45
|
+
"eslint-plugin-unused-imports": "4.0.0",
|
|
46
46
|
"jsonc-eslint-parser": "2.4.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
@@ -13,7 +13,10 @@ import {
|
|
|
13
13
|
export async function createEslintUnusedImportsConfig(root) {
|
|
14
14
|
return [
|
|
15
15
|
{
|
|
16
|
-
files:
|
|
16
|
+
files: [
|
|
17
|
+
...await getModuleFiles(root),
|
|
18
|
+
...getTypescriptFiles(),
|
|
19
|
+
],
|
|
17
20
|
plugins: { 'unused-imports': unused },
|
|
18
21
|
rules: {
|
|
19
22
|
'no-unused-vars': 'off',
|
|
@@ -30,23 +33,5 @@ export async function createEslintUnusedImportsConfig(root) {
|
|
|
30
33
|
],
|
|
31
34
|
},
|
|
32
35
|
},
|
|
33
|
-
{
|
|
34
|
-
files: getTypescriptFiles(),
|
|
35
|
-
plugins: { 'unused-imports': unused },
|
|
36
|
-
rules: {
|
|
37
|
-
'no-unused-vars': 'off',
|
|
38
|
-
'@typescript-eslint/no-unused-vars': 'off',
|
|
39
|
-
|
|
40
|
-
'unused-imports/no-unused-imports-ts': 'error',
|
|
41
|
-
'unused-imports/no-unused-vars-ts': [
|
|
42
|
-
'error', {
|
|
43
|
-
argsIgnorePattern: '^_',
|
|
44
|
-
varsIgnorePattern: '^_',
|
|
45
|
-
args: 'after-used',
|
|
46
|
-
vars: 'local',
|
|
47
|
-
},
|
|
48
|
-
],
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
36
|
];
|
|
52
37
|
}
|