eslint-config-agent 1.3.0 → 1.3.2
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 +8 -0
- package/index.js +1 -5
- package/package.json +2 -4
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. See [Conven
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
## [1.3.2](https://github.com/tupe12334/eslint-config/compare/v1.3.1...v1.3.2) (2025-09-20)
|
|
8
|
+
|
|
9
|
+
## [1.3.1](https://github.com/tupe12334/eslint-config/compare/v1.3.0...v1.3.1) (2025-09-20)
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* update eslint-plugin-single-export version to 1.1.1 and adjust dependencies ([d2a82b5](https://github.com/tupe12334/eslint-config/commit/d2a82b51fc302ffb0589fb58a6a26452833d6639))
|
|
14
|
+
|
|
7
15
|
## [1.3.0](https://github.com/tupe12334/eslint-config/compare/v1.2.3...v1.3.0) (2025-09-20)
|
|
8
16
|
|
|
9
17
|
### Features
|
package/index.js
CHANGED
|
@@ -202,7 +202,7 @@ const config = [
|
|
|
202
202
|
n: nPlugin,
|
|
203
203
|
"class-export": classExportPlugin,
|
|
204
204
|
"single-export": singleExportPlugin,
|
|
205
|
-
|
|
205
|
+
custom: {
|
|
206
206
|
rules: {
|
|
207
207
|
"no-default-class-export": noDefaultClassExportRule,
|
|
208
208
|
},
|
|
@@ -355,8 +355,6 @@ const config = [
|
|
|
355
355
|
// Include shared rules but remove the multiple exports restriction and switch case rules for TSX
|
|
356
356
|
...sharedRestrictedSyntax.filter(
|
|
357
357
|
(rule) =>
|
|
358
|
-
rule.selector !==
|
|
359
|
-
"ExportNamedDeclaration[specifiers.length>1]:not([source])" &&
|
|
360
358
|
rule.selector !==
|
|
361
359
|
"Program:has(ExportNamedDeclaration:not([source]) ~ ExportNamedDeclaration:not([source]))" &&
|
|
362
360
|
rule.selector !==
|
|
@@ -665,8 +663,6 @@ const config = [
|
|
|
665
663
|
// Include shared rules but remove the multiple exports restriction and switch case rules for JSX
|
|
666
664
|
...sharedRestrictedSyntax.filter(
|
|
667
665
|
(rule) =>
|
|
668
|
-
rule.selector !==
|
|
669
|
-
"ExportNamedDeclaration[specifiers.length>1]:not([source])" &&
|
|
670
666
|
rule.selector !==
|
|
671
667
|
"Program:has(ExportNamedDeclaration:not([source]) ~ ExportNamedDeclaration:not([source]))" &&
|
|
672
668
|
rule.selector !==
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-agent",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "ESLint configuration package with TypeScript support",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -100,12 +100,10 @@
|
|
|
100
100
|
"eslint-plugin-react": "^7.37.5",
|
|
101
101
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
102
102
|
"eslint-plugin-security": "^3.0.1",
|
|
103
|
+
"eslint-plugin-single-export": "^1.1.2",
|
|
103
104
|
"eslint-plugin-storybook": "^9.1.5",
|
|
104
105
|
"globals": "^16.3.0",
|
|
105
106
|
"release-it": "^19.0.4",
|
|
106
107
|
"typescript-eslint": "^8.40.0"
|
|
107
|
-
},
|
|
108
|
-
"dependencies": {
|
|
109
|
-
"eslint-plugin-single-export": "^1.1.0"
|
|
110
108
|
}
|
|
111
109
|
}
|