@darksheep/eslint 5.3.4 โ 5.3.5
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 +13 -0
- package/package.json +7 -8
- package/src/index.js +0 -2
- package/src/plugins/style.js +1 -1
- package/types/src/plugins/style.d.ts +1 -1
- package/src/plugins/sonarjs.js +0 -19
- package/types/src/plugins/sonarjs.d.ts +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [5.3.5](https://github.com/DarkSheepSoftware/eslint/compare/v5.3.4...v5.3.5) (2024-08-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ๐ฆ Dependencies
|
|
7
|
+
|
|
8
|
+
* **pkg:** update dependency @stylistic/eslint-plugin to v2.6.4 ([#581](https://github.com/DarkSheepSoftware/eslint/issues/581)) ([57d7698](https://github.com/DarkSheepSoftware/eslint/commit/57d7698cb1d1a1c1da4156480f2a48875c9f74d1))
|
|
9
|
+
* **pkg:** update typescript-eslint monorepo to v8.2.0 ([#586](https://github.com/DarkSheepSoftware/eslint/issues/586)) ([8e131a0](https://github.com/DarkSheepSoftware/eslint/commit/8e131a0ac01e7c6511788b953ff2613e8455ab2d))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### ๐งน Chores
|
|
13
|
+
|
|
14
|
+
* Remove sonar ([#589](https://github.com/DarkSheepSoftware/eslint/issues/589)) ([a74d71a](https://github.com/DarkSheepSoftware/eslint/commit/a74d71a691a5f018348f47dc9179339f0bacfed1))
|
|
15
|
+
|
|
3
16
|
## [5.3.4](https://github.com/DarkSheepSoftware/eslint/compare/v5.3.3...v5.3.4) (2024-08-15)
|
|
4
17
|
|
|
5
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@darksheep/eslint",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.5",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/DarkSheepSoftware/eslint"
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"@eslint-community/eslint-plugin-eslint-comments": "4.4.0",
|
|
25
25
|
"@eslint/eslintrc": "3.1.0",
|
|
26
26
|
"@eslint/js": "9.9.0",
|
|
27
|
-
"@stylistic/eslint-plugin": "2.6.
|
|
28
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
29
|
-
"@typescript-eslint/parser": "8.
|
|
27
|
+
"@stylistic/eslint-plugin": "2.6.4",
|
|
28
|
+
"@typescript-eslint/eslint-plugin": "8.2.0",
|
|
29
|
+
"@typescript-eslint/parser": "8.2.0",
|
|
30
30
|
"editorconfig": "2.0.0",
|
|
31
31
|
"eslint-plugin-jsdoc": "50.2.2",
|
|
32
32
|
"eslint-plugin-jsonc": "2.16.0",
|
|
@@ -37,7 +37,6 @@
|
|
|
37
37
|
"eslint-plugin-react": "7.35.0",
|
|
38
38
|
"eslint-plugin-regexp": "2.6.0",
|
|
39
39
|
"eslint-plugin-security": "3.0.1",
|
|
40
|
-
"eslint-plugin-sonarjs": "1.0.4",
|
|
41
40
|
"eslint-plugin-unicorn": "55.0.0",
|
|
42
41
|
"eslint-plugin-unused-imports": "4.1.3",
|
|
43
42
|
"eslint-plugin-yml": "1.14.0",
|
|
@@ -50,9 +49,9 @@
|
|
|
50
49
|
"@types/eslint__eslintrc": "~2.1.1",
|
|
51
50
|
"@types/eslint__js": "~8.42.3",
|
|
52
51
|
"@types/estree": "~1.0.2",
|
|
53
|
-
"@types/node": "~20.
|
|
52
|
+
"@types/node": "~20.16.0",
|
|
54
53
|
"eslint": "~9.9.0",
|
|
55
|
-
"type-fest": "~4.
|
|
54
|
+
"type-fest": "~4.25.0",
|
|
56
55
|
"typescript": "~5.5.0"
|
|
57
56
|
},
|
|
58
57
|
"peerDependencies": {
|
|
@@ -68,7 +67,7 @@
|
|
|
68
67
|
"node": "^20 || ^21 || ^22"
|
|
69
68
|
},
|
|
70
69
|
"volta": {
|
|
71
|
-
"node": "22.
|
|
70
|
+
"node": "22.7.0",
|
|
72
71
|
"yarn": "4.4.0"
|
|
73
72
|
}
|
|
74
73
|
}
|
package/src/index.js
CHANGED
|
@@ -16,7 +16,6 @@ import { createEslintReactConfig } from './plugins/react.js';
|
|
|
16
16
|
import { createEslintRegexpConfig } from './plugins/regexp.js';
|
|
17
17
|
import { createEslintSCAConfig } from './plugins/sca.js';
|
|
18
18
|
import { createEslintSecurityConfig } from './plugins/security.js';
|
|
19
|
-
import { createEslintSonarJSConfig } from './plugins/sonarjs.js';
|
|
20
19
|
import { createEslintStyleConfig } from './plugins/style.js';
|
|
21
20
|
import { createEslintTypescriptConfig } from './plugins/typescript.js';
|
|
22
21
|
import { createEslintUnicornConfig } from './plugins/unicorn.js';
|
|
@@ -42,7 +41,6 @@ const configBuilders = [
|
|
|
42
41
|
createEslintUnicornConfig,
|
|
43
42
|
createEslintRegexpConfig,
|
|
44
43
|
createEslintSCAConfig,
|
|
45
|
-
createEslintSonarJSConfig,
|
|
46
44
|
createEslintStyleConfig,
|
|
47
45
|
createEslintUnusedImportsConfig,
|
|
48
46
|
createEslintJSDocConfig,
|
package/src/plugins/style.js
CHANGED
package/src/plugins/sonarjs.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import sonarjs from 'eslint-plugin-sonarjs';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Get ESLint config for the sonar plugin
|
|
5
|
-
* @returns {import('eslint').Linter.FlatConfig[]}
|
|
6
|
-
*/
|
|
7
|
-
export function createEslintSonarJSConfig() {
|
|
8
|
-
return [
|
|
9
|
-
{
|
|
10
|
-
name: 'sonarjs/recommended',
|
|
11
|
-
plugins: { sonarjs },
|
|
12
|
-
rules: {
|
|
13
|
-
...sonarjs.configs.recommended.rules,
|
|
14
|
-
'sonarjs/cognitive-complexity': 'error',
|
|
15
|
-
'sonarjs/no-duplicate-string': 'off',
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
];
|
|
19
|
-
}
|