@tinkoff/eslint-config 5.2.1 → 5.2.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 +9 -0
- package/README.md +96 -92
- package/app.js +6 -2
- package/errors/index.js +13 -16
- package/index.js +14 -24
- package/internal/base.js +78 -89
- package/internal/import.js +31 -40
- package/internal/prettier.js +3 -16
- package/internal/promise.js +8 -11
- package/internal/sort-class-members.js +54 -57
- package/internal/test-files.js +16 -14
- package/internal/typescript.js +157 -170
- package/jest.js +17 -18
- package/lib.js +10 -11
- package/package.json +14 -26
- package/test/import/import-happy.test.js +11 -15
- package/test/import/import-unhappy.test.js +11 -15
- package/test/index.test.js +26 -26
|
@@ -1,61 +1,58 @@
|
|
|
1
|
-
|
|
1
|
+
module.exports = {
|
|
2
|
+
plugins: ['sort-class-members'],
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
4
|
+
rules: {
|
|
5
|
+
'sort-class-members/sort-class-members': [
|
|
6
|
+
'error',
|
|
7
|
+
{
|
|
8
|
+
order: [
|
|
9
|
+
'[static-members]',
|
|
10
|
+
'[properties]',
|
|
11
|
+
'[conventional-private-properties]',
|
|
12
|
+
'constructor',
|
|
13
|
+
'[lifecycle]',
|
|
14
|
+
'[handlers]',
|
|
15
|
+
'[methods]',
|
|
16
|
+
'[conventional-private-methods]',
|
|
17
|
+
'[rendering]',
|
|
18
|
+
'[everything-else]',
|
|
19
|
+
],
|
|
20
|
+
groups: {
|
|
21
|
+
'static-members': [{ static: true }],
|
|
22
|
+
handlers: [
|
|
23
|
+
{ name: '/^on.+$/', type: 'method' },
|
|
24
|
+
{ name: '/^on.+$/', type: 'property' },
|
|
25
|
+
{ name: '/^handle.+$/', type: 'method' },
|
|
26
|
+
{ name: '/^handle.+$/', type: 'property' },
|
|
21
27
|
],
|
|
22
|
-
|
|
23
|
-
'
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
'UNSAFE_componentWillUpdate',
|
|
48
|
-
'getSnapshotBeforeUpdate',
|
|
49
|
-
'componentDidUpdate',
|
|
50
|
-
'componentDidCatch',
|
|
51
|
-
'componentWillUnmount',
|
|
52
|
-
'componentDidCatch',
|
|
53
|
-
],
|
|
54
|
-
rendering: ['/^render.+$/', 'render'],
|
|
55
|
-
},
|
|
56
|
-
accessorPairPositioning: 'getThenSet',
|
|
28
|
+
lifecycle: [
|
|
29
|
+
'displayName',
|
|
30
|
+
'propTypes',
|
|
31
|
+
'contextTypes',
|
|
32
|
+
'childContextTypes',
|
|
33
|
+
'defaultProps',
|
|
34
|
+
'getDefaultProps',
|
|
35
|
+
'getInitialState',
|
|
36
|
+
'getChildContext',
|
|
37
|
+
'getDerivedStateFromProps',
|
|
38
|
+
'componentWillMount',
|
|
39
|
+
'UNSAFE_componentWillMount',
|
|
40
|
+
'componentDidMount',
|
|
41
|
+
'componentWillReceiveProps',
|
|
42
|
+
'UNSAFE_componentWillReceiveProps',
|
|
43
|
+
'shouldComponentUpdate',
|
|
44
|
+
'componentWillUpdate',
|
|
45
|
+
'UNSAFE_componentWillUpdate',
|
|
46
|
+
'getSnapshotBeforeUpdate',
|
|
47
|
+
'componentDidUpdate',
|
|
48
|
+
'componentDidCatch',
|
|
49
|
+
'componentWillUnmount',
|
|
50
|
+
'componentDidCatch',
|
|
51
|
+
],
|
|
52
|
+
rendering: ['/^render.+$/', 'render'],
|
|
57
53
|
},
|
|
58
|
-
|
|
59
|
-
|
|
54
|
+
accessorPairPositioning: 'getThenSet',
|
|
55
|
+
},
|
|
56
|
+
],
|
|
60
57
|
},
|
|
61
|
-
|
|
58
|
+
};
|
package/internal/test-files.js
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
module.exports = {
|
|
2
|
+
overrides: [
|
|
3
|
+
{
|
|
4
|
+
files: ['*.spec.*', '*.test.*', '*.unit.*', '*/__tests__/*'],
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
rules: {
|
|
7
|
+
'@typescript-eslint/no-empty-function': 'off',
|
|
8
|
+
'max-statements': 'off',
|
|
9
|
+
'max-classes-per-file': 'off',
|
|
10
|
+
'max-nested-callbacks': ['warn', 10],
|
|
11
|
+
'prefer-promise-reject-errors': 'warn',
|
|
12
|
+
'import/no-unresolved': 'off',
|
|
13
|
+
'import/extensions': 'off',
|
|
14
|
+
'@typescript-eslint/no-shadow': 'off',
|
|
15
|
+
},
|
|
14
16
|
},
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
],
|
|
18
|
+
};
|
package/internal/typescript.js
CHANGED
|
@@ -1,176 +1,163 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
module.exports = {
|
|
2
|
+
extends: ['plugin:@typescript-eslint/eslint-recommended'],
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
},
|
|
11
|
-
},
|
|
12
|
-
// TypeScript-specific configuration
|
|
13
|
-
{
|
|
14
|
-
files: ['**/*.ts', '**/*.tsx'],
|
|
15
|
-
languageOptions: {
|
|
16
|
-
parser: tsParser,
|
|
17
|
-
parserOptions: {
|
|
18
|
-
sourceType: 'module',
|
|
19
|
-
errorOnUnknownASTType: true,
|
|
20
|
-
warnOnUnsupportedTypeScriptVersion: false,
|
|
21
|
-
ecmaVersion: 6,
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
plugins: {
|
|
25
|
-
'@typescript-eslint': tseslint.plugin,
|
|
26
|
-
},
|
|
27
|
-
rules: {
|
|
28
|
-
...tseslint.configs.recommended.rules,
|
|
29
|
-
|
|
30
|
-
// swears on cases like constructor(public c: C) {}
|
|
31
|
-
'no-useless-constructor': 'off',
|
|
32
|
-
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
33
|
-
'no-unused-vars': 'off',
|
|
34
|
-
'@typescript-eslint/no-unused-vars': [
|
|
35
|
-
'warn',
|
|
36
|
-
{
|
|
37
|
-
argsIgnorePattern: '^_',
|
|
38
|
-
varsIgnorePattern: '^_',
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
'class-methods-use-this': 'off',
|
|
42
|
-
'@typescript-eslint/member-ordering': [
|
|
43
|
-
'off',
|
|
44
|
-
{
|
|
45
|
-
default: [
|
|
46
|
-
'public-static-field',
|
|
47
|
-
'protected-static-field',
|
|
48
|
-
'private-static-field',
|
|
49
|
-
'public-static-method',
|
|
50
|
-
'protected-static-method',
|
|
51
|
-
'private-static-method',
|
|
52
|
-
'public-instance-field',
|
|
53
|
-
'protected-instance-field',
|
|
54
|
-
'private-instance-field',
|
|
55
|
-
'constructor',
|
|
56
|
-
'public-instance-method',
|
|
57
|
-
'protected-instance-method',
|
|
58
|
-
'private-instance-method',
|
|
59
|
-
],
|
|
60
|
-
},
|
|
4
|
+
overrides: [
|
|
5
|
+
{
|
|
6
|
+
extends: [
|
|
7
|
+
'plugin:@typescript-eslint/recommended',
|
|
8
|
+
'prettier',
|
|
9
|
+
'plugin:import/typescript',
|
|
61
10
|
],
|
|
62
|
-
|
|
63
|
-
'@typescript-eslint/
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
11
|
+
|
|
12
|
+
parser: '@typescript-eslint/parser',
|
|
13
|
+
|
|
14
|
+
plugins: ['@typescript-eslint'],
|
|
15
|
+
|
|
16
|
+
files: ['*.ts', '*.tsx'],
|
|
17
|
+
|
|
18
|
+
rules: {
|
|
19
|
+
// swears on cases like constructor(public c: C) {}
|
|
20
|
+
'no-useless-constructor': 'off',
|
|
21
|
+
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
22
|
+
'no-unused-vars': 'off',
|
|
23
|
+
'@typescript-eslint/no-unused-vars': [
|
|
24
|
+
'warn',
|
|
25
|
+
{
|
|
26
|
+
argsIgnorePattern: '^_',
|
|
27
|
+
varsIgnorePattern: '^_',
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
'class-methods-use-this': 'off',
|
|
31
|
+
'@typescript-eslint/member-ordering': [
|
|
32
|
+
'off',
|
|
33
|
+
{
|
|
34
|
+
default: [
|
|
35
|
+
'public-static-field',
|
|
36
|
+
'protected-static-field',
|
|
37
|
+
'private-static-field',
|
|
38
|
+
'public-static-method',
|
|
39
|
+
'protected-static-method',
|
|
40
|
+
'private-static-method',
|
|
41
|
+
'public-instance-field',
|
|
42
|
+
'protected-instance-field',
|
|
43
|
+
'private-instance-field',
|
|
44
|
+
'constructor',
|
|
45
|
+
'public-instance-method',
|
|
46
|
+
'protected-instance-method',
|
|
47
|
+
'private-instance-method',
|
|
48
|
+
],
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
'@typescript-eslint/no-unsafe-function-type': 'error',
|
|
52
|
+
'@typescript-eslint/no-wrapper-object-types': 'error',
|
|
53
|
+
'@typescript-eslint/no-restricted-types': [
|
|
54
|
+
'error',
|
|
55
|
+
{
|
|
56
|
+
types: {
|
|
57
|
+
String: { message: 'Use string instead', fixWith: 'string' },
|
|
58
|
+
Boolean: { message: 'Use boolean instead', fixWith: 'boolean' },
|
|
59
|
+
Number: { message: 'Use number instead', fixWith: 'number' },
|
|
60
|
+
Object: {
|
|
61
|
+
message: 'Use Record<string, any> instead',
|
|
62
|
+
fixWith: 'Record<string, any>',
|
|
63
|
+
},
|
|
64
|
+
object: {
|
|
65
|
+
message: 'Use Record<string, any> instead',
|
|
66
|
+
fixWith: 'Record<string, any>',
|
|
67
|
+
},
|
|
78
68
|
},
|
|
79
69
|
},
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
'
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
'
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
'
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
'
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
settings: {
|
|
171
|
-
'import/parsers': {
|
|
172
|
-
'@typescript-eslint/parser': ['.ts', '.tsx'],
|
|
70
|
+
],
|
|
71
|
+
'@typescript-eslint/no-extraneous-class': [
|
|
72
|
+
'error',
|
|
73
|
+
{
|
|
74
|
+
allowWithDecorator: true,
|
|
75
|
+
allowStaticOnly: true,
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
// '@typescript-eslint/no-unnecessary-qualifier': 'error', need ts config
|
|
79
|
+
// '@typescript-eslint/restrict-plus-operands': 'error', need ts config
|
|
80
|
+
'@typescript-eslint/no-explicit-any': 'off',
|
|
81
|
+
camelcase: 'off',
|
|
82
|
+
'@typescript-eslint/camelcase': 'off',
|
|
83
|
+
'@typescript-eslint/naming-convention': [
|
|
84
|
+
'error',
|
|
85
|
+
{
|
|
86
|
+
selector: 'default',
|
|
87
|
+
format: ['camelCase', 'PascalCase'],
|
|
88
|
+
leadingUnderscore: 'allow',
|
|
89
|
+
trailingUnderscore: 'allow',
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
selector: 'variable',
|
|
93
|
+
format: ['camelCase', 'PascalCase', 'UPPER_CASE'],
|
|
94
|
+
leadingUnderscore: 'allow',
|
|
95
|
+
trailingUnderscore: 'allow',
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
selector: 'typeLike',
|
|
99
|
+
format: ['PascalCase', 'UPPER_CASE'],
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
selector: 'property',
|
|
103
|
+
format: ['camelCase', 'PascalCase'],
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
selector: [
|
|
107
|
+
'classProperty',
|
|
108
|
+
'objectLiteralProperty',
|
|
109
|
+
'typeProperty',
|
|
110
|
+
'classMethod',
|
|
111
|
+
'objectLiteralMethod',
|
|
112
|
+
'typeMethod',
|
|
113
|
+
'accessor',
|
|
114
|
+
'enumMember',
|
|
115
|
+
],
|
|
116
|
+
format: null,
|
|
117
|
+
modifiers: ['requiresQuotes'],
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
'@typescript-eslint/ban-ts-comment': 'warn',
|
|
121
|
+
'no-empty-function': 'off',
|
|
122
|
+
'@typescript-eslint/no-empty-function': 'warn',
|
|
123
|
+
// standard no-unused-expressions don't understand optional chaining from ts
|
|
124
|
+
'no-unused-expressions': 'off',
|
|
125
|
+
'@typescript-eslint/no-unused-expressions': [
|
|
126
|
+
'error',
|
|
127
|
+
{
|
|
128
|
+
allowShortCircuit: true,
|
|
129
|
+
allowTernary: true,
|
|
130
|
+
},
|
|
131
|
+
],
|
|
132
|
+
'@typescript-eslint/no-var-requires': 'warn',
|
|
133
|
+
'@typescript-eslint/no-namespace': 'off',
|
|
134
|
+
'no-use-before-define': 'off',
|
|
135
|
+
'@typescript-eslint/no-use-before-define': [
|
|
136
|
+
'error',
|
|
137
|
+
{
|
|
138
|
+
functions: false,
|
|
139
|
+
classes: false,
|
|
140
|
+
variables: true,
|
|
141
|
+
enums: true,
|
|
142
|
+
typedefs: true,
|
|
143
|
+
},
|
|
144
|
+
],
|
|
145
|
+
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
146
|
+
'consistent-return': 'off',
|
|
147
|
+
'@typescript-eslint/consistent-type-imports': [
|
|
148
|
+
'warn',
|
|
149
|
+
{
|
|
150
|
+
prefer: 'type-imports',
|
|
151
|
+
disallowTypeAnnotations: true,
|
|
152
|
+
},
|
|
153
|
+
],
|
|
154
|
+
'no-shadow': 'off',
|
|
155
|
+
'@typescript-eslint/no-shadow': ['warn'],
|
|
156
|
+
// conflict with import type statement, try to merge default and named imports
|
|
157
|
+
// https://github.com/typescript-eslint/typescript-eslint/issues/2545#issuecomment-692842483
|
|
158
|
+
// https://github.com/import-js/eslint-plugin-import/issues/2114
|
|
159
|
+
'import/no-duplicates': 'off',
|
|
173
160
|
},
|
|
174
161
|
},
|
|
175
|
-
|
|
176
|
-
|
|
162
|
+
],
|
|
163
|
+
};
|
package/jest.js
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
module.exports = {
|
|
2
|
+
extends: ['plugin:jest/recommended'],
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
{
|
|
6
|
-
|
|
7
|
-
'
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
'jest/no-disabled-tests': 'off',
|
|
18
|
-
},
|
|
4
|
+
plugins: [],
|
|
5
|
+
|
|
6
|
+
rules: {
|
|
7
|
+
'jest/expect-expect': [
|
|
8
|
+
'warn',
|
|
9
|
+
{
|
|
10
|
+
assertFunctionNames: [
|
|
11
|
+
'expect',
|
|
12
|
+
// support superagent library
|
|
13
|
+
'request.**.expect',
|
|
14
|
+
],
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
'jest/no-disabled-tests': 'off',
|
|
19
18
|
},
|
|
20
|
-
|
|
19
|
+
};
|
package/lib.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
module.exports = {
|
|
2
|
+
extends: ['./index'],
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
{
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
'@typescript-eslint/no-empty-function': 'off',
|
|
11
|
-
},
|
|
4
|
+
plugins: [],
|
|
5
|
+
|
|
6
|
+
rules: {
|
|
7
|
+
'import/no-dynamic-require': 'off',
|
|
8
|
+
'import/no-deprecated': 'off',
|
|
9
|
+
'@typescript-eslint/no-var-requires': 'off',
|
|
10
|
+
'@typescript-eslint/no-empty-function': 'off',
|
|
12
11
|
},
|
|
13
|
-
|
|
12
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinkoff/eslint-config",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.2",
|
|
4
4
|
"description": "ESLint configs to rule them all",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -9,40 +9,28 @@
|
|
|
9
9
|
"eslint-config"
|
|
10
10
|
],
|
|
11
11
|
"scripts": {},
|
|
12
|
-
"type": "module",
|
|
13
12
|
"main": "index.js",
|
|
14
|
-
"exports": {
|
|
15
|
-
".": "./index.js",
|
|
16
|
-
"./index": "./index.js",
|
|
17
|
-
"./index.js": "./index.js",
|
|
18
|
-
"./app": "./app.js",
|
|
19
|
-
"./app.js": "./app.js",
|
|
20
|
-
"./lib": "./lib.js",
|
|
21
|
-
"./lib.js": "./lib.js",
|
|
22
|
-
"./jest": "./jest.js",
|
|
23
|
-
"./jest.js": "./jest.js"
|
|
24
|
-
},
|
|
25
13
|
"repository": {
|
|
26
14
|
"type": "git",
|
|
27
15
|
"url": "https://github.com/tramvaijs/linters.git"
|
|
28
16
|
},
|
|
29
17
|
"dependencies": {
|
|
30
|
-
"@babel/eslint-parser": "^7.
|
|
18
|
+
"@babel/eslint-parser": "^7.21.3",
|
|
31
19
|
"@babel/eslint-plugin": "^7.19.1",
|
|
32
|
-
"@eslint
|
|
33
|
-
"eslint": "^
|
|
34
|
-
"eslint
|
|
35
|
-
"eslint-config-
|
|
20
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
21
|
+
"@typescript-eslint/parser": "^8.0.0",
|
|
22
|
+
"eslint": "^8.38.0",
|
|
23
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
24
|
+
"eslint-config-prettier": "^9.1.0",
|
|
36
25
|
"eslint-import-resolver-typescript": "^3.5.5",
|
|
37
26
|
"eslint-import-resolver-webpack": "^0.13.2",
|
|
38
|
-
"eslint-plugin-
|
|
39
|
-
"eslint-plugin-
|
|
27
|
+
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
28
|
+
"eslint-plugin-import": "^2.27.5",
|
|
29
|
+
"eslint-plugin-jest": "^28.0.0",
|
|
40
30
|
"eslint-plugin-prettier": "^5.1.3",
|
|
41
|
-
"eslint-plugin-promise": "^
|
|
42
|
-
"eslint-plugin-sort-class-members": "^1.
|
|
43
|
-
"
|
|
44
|
-
"prettier": "^3.2.5",
|
|
45
|
-
"typescript-eslint": "^8.59.0"
|
|
31
|
+
"eslint-plugin-promise": "^6.1.1",
|
|
32
|
+
"eslint-plugin-sort-class-members": "^1.17.1",
|
|
33
|
+
"prettier": "^3.2.5"
|
|
46
34
|
},
|
|
47
35
|
"publishConfig": {
|
|
48
36
|
"access": "public"
|
|
@@ -50,5 +38,5 @@
|
|
|
50
38
|
"devDependencies": {
|
|
51
39
|
"eslint-formatter-codeframe": "^7.32.1"
|
|
52
40
|
},
|
|
53
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "1864857318a80303c792da09d0ace160a9eda855"
|
|
54
42
|
}
|