eslint-config-agent 3.0.0 → 3.0.1
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/configs/test-files.js +0 -2
- package/index.js +0 -2
- package/package.json +1 -2
- package/plugins/index.js +0 -2
package/configs/test-files.js
CHANGED
|
@@ -24,8 +24,6 @@ const sharedRules = {
|
|
|
24
24
|
'no-continue': 'off',
|
|
25
25
|
// Additional built-in error handling rules
|
|
26
26
|
'prefer-promise-reject-errors': 'error',
|
|
27
|
-
// Optional chaining restriction
|
|
28
|
-
'no-optional-chaining/no-optional-chaining': 'error',
|
|
29
27
|
}
|
|
30
28
|
|
|
31
29
|
// Shared no-restricted-syntax rules for both JS and TS
|
package/index.js
CHANGED
|
@@ -41,8 +41,6 @@ const sharedRules = {
|
|
|
41
41
|
'no-continue': 'off',
|
|
42
42
|
// Additional built-in error handling rules
|
|
43
43
|
'prefer-promise-reject-errors': 'error',
|
|
44
|
-
// Optional chaining restriction
|
|
45
|
-
'no-optional-chaining/no-optional-chaining': 'error',
|
|
46
44
|
}
|
|
47
45
|
|
|
48
46
|
// Shared no-restricted-syntax rules for both JS and TS
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-agent",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "ESLint configuration package with TypeScript support",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -112,7 +112,6 @@
|
|
|
112
112
|
"eslint-plugin-import": "^2.32.0",
|
|
113
113
|
"eslint-plugin-jsx-classname": "^1.0.1",
|
|
114
114
|
"eslint-plugin-n": "^17.21.3",
|
|
115
|
-
"eslint-plugin-no-optional-chaining": "^1.0.0",
|
|
116
115
|
"eslint-plugin-preact": "^0.1.0",
|
|
117
116
|
"eslint-plugin-react": "^7.37.5",
|
|
118
117
|
"eslint-plugin-react-hooks": "^5.2.0",
|
package/plugins/index.js
CHANGED
|
@@ -15,7 +15,6 @@ import requiredExportsPlugin from 'eslint-plugin-required-exports'
|
|
|
15
15
|
import storybookPlugin from 'eslint-plugin-storybook'
|
|
16
16
|
import errorPlugin from 'eslint-plugin-error'
|
|
17
17
|
import defaultPlugin from 'eslint-plugin-default'
|
|
18
|
-
import noOptionalChainingPlugin from 'eslint-plugin-no-optional-chaining'
|
|
19
18
|
import dddPlugin from 'eslint-plugin-ddd'
|
|
20
19
|
import preactPlugin from 'eslint-plugin-preact'
|
|
21
20
|
import { noDefaultClassExportRule } from '../rules/no-default-class-export/index.js'
|
|
@@ -32,7 +31,6 @@ export const plugins = {
|
|
|
32
31
|
storybook: storybookPlugin,
|
|
33
32
|
error: errorPlugin,
|
|
34
33
|
default: defaultPlugin,
|
|
35
|
-
'no-optional-chaining': noOptionalChainingPlugin,
|
|
36
34
|
ddd: dddPlugin,
|
|
37
35
|
preact: preactPlugin,
|
|
38
36
|
custom: {
|