@sergdudko/stripe-js 1.1.42 → 1.2.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/CHANGELOG.md +59 -0
- package/ignoreUpdatesModules.json +2 -2
- package/lib/methods/confirmPaymentIntentByPaymentMethod.d.ts +1 -1
- package/lib/methods/index.d.ts +2 -2
- package/lib/utils/constants.d.ts +1 -1
- package/lib/utils/constants.js +1 -1
- package/package.json +12 -16
- package/.eslintrc.js +0 -117
package/CHANGELOG.md
CHANGED
|
@@ -1,211 +1,270 @@
|
|
|
1
|
+
# 1.2.1 / 2024-08-24
|
|
2
|
+
|
|
3
|
+
### :tada: Enhancements
|
|
4
|
+
- Updated dependencies: @eslint/js, eslint
|
|
5
|
+
|
|
6
|
+
# 1.2.0 / 2024-08-20
|
|
7
|
+
|
|
8
|
+
### :tada: Enhancements
|
|
9
|
+
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
# 1.1.43 / 2024-06-21
|
|
13
|
+
|
|
14
|
+
### :tada: Enhancements
|
|
15
|
+
|
|
16
|
+
- Updated dependencies: typescript
|
|
17
|
+
|
|
1
18
|
# 1.1.42 / 2024-06-18
|
|
2
19
|
|
|
3
20
|
### :tada: Enhancements
|
|
21
|
+
|
|
4
22
|
- Updated dependencies: @stripe/stripe-js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, stripe
|
|
5
23
|
|
|
6
24
|
# 1.1.41 / 2024-06-14
|
|
7
25
|
|
|
8
26
|
### :tada: Enhancements
|
|
27
|
+
|
|
9
28
|
- Updated dependencies: stripe
|
|
10
29
|
|
|
11
30
|
# 1.1.40 / 2024-06-12
|
|
12
31
|
|
|
13
32
|
### :tada: Enhancements
|
|
33
|
+
|
|
14
34
|
- Updated dependencies: @stripe/stripe-js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, chai, jsdom, nyc, stripe, typedoc, typescript
|
|
15
35
|
|
|
16
36
|
# 1.1.39 / 2024-04-05
|
|
17
37
|
|
|
18
38
|
### :tada: Enhancements
|
|
39
|
+
|
|
19
40
|
- Updated dependencies: stripe, typescript
|
|
20
41
|
|
|
21
42
|
# 1.1.38 / 2024-04-02
|
|
22
43
|
|
|
23
44
|
### :tada: Enhancements
|
|
45
|
+
|
|
24
46
|
- Updated dependencies: @stripe/stripe-js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser
|
|
25
47
|
|
|
26
48
|
# 1.1.37 / 2024-03-29
|
|
27
49
|
|
|
28
50
|
### :tada: Enhancements
|
|
51
|
+
|
|
29
52
|
- Updated dependencies: stripe
|
|
30
53
|
|
|
31
54
|
# 1.1.36 / 2024-03-27
|
|
32
55
|
|
|
33
56
|
### :tada: Enhancements
|
|
57
|
+
|
|
34
58
|
- Updated dependencies: mocha
|
|
35
59
|
|
|
36
60
|
# 1.1.35 / 2024-03-26
|
|
37
61
|
|
|
38
62
|
### :tada: Enhancements
|
|
63
|
+
|
|
39
64
|
- Updated dependencies: @stripe/stripe-js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser
|
|
40
65
|
|
|
41
66
|
# 1.1.34 / 2024-03-22
|
|
42
67
|
|
|
43
68
|
### :tada: Enhancements
|
|
69
|
+
|
|
44
70
|
- Updated dependencies: stripe
|
|
45
71
|
|
|
46
72
|
# 1.1.33 / 2024-03-21
|
|
47
73
|
|
|
48
74
|
### :tada: Enhancements
|
|
75
|
+
|
|
49
76
|
- Updated dependencies: typescript
|
|
50
77
|
|
|
51
78
|
# 1.1.32 / 2024-03-19
|
|
52
79
|
|
|
53
80
|
### :tada: Enhancements
|
|
81
|
+
|
|
54
82
|
- Updated dependencies: @typescript-eslint/eslint-plugin, @typescript-eslint/parser
|
|
55
83
|
|
|
56
84
|
# 1.1.31 / 2024-03-15
|
|
57
85
|
|
|
58
86
|
### :tada: Enhancements
|
|
87
|
+
|
|
59
88
|
- Updated dependencies: @stripe/stripe-js, stripe
|
|
60
89
|
|
|
61
90
|
# 1.1.30 / 2024-03-12
|
|
62
91
|
|
|
63
92
|
### :tada: Enhancements
|
|
93
|
+
|
|
64
94
|
- Updated dependencies: @stripe/stripe-js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser
|
|
65
95
|
|
|
66
96
|
# 1.1.29 / 2024-03-11
|
|
67
97
|
|
|
68
98
|
### :tada: Enhancements
|
|
99
|
+
|
|
69
100
|
- Updated dependencies: stripe, typedoc, typescript
|
|
70
101
|
|
|
71
102
|
# 1.1.28 / 2024-03-05
|
|
72
103
|
|
|
73
104
|
### :tada: Enhancements
|
|
105
|
+
|
|
74
106
|
- Updated dependencies: @stripe/stripe-js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser
|
|
75
107
|
|
|
76
108
|
# 1.1.27 / 2024-03-04
|
|
77
109
|
|
|
78
110
|
### :tada: Enhancements
|
|
111
|
+
|
|
79
112
|
- Updated dependencies: typedoc
|
|
80
113
|
|
|
81
114
|
# 1.1.26 / 2024-03-01
|
|
82
115
|
|
|
83
116
|
### :tada: Enhancements
|
|
117
|
+
|
|
84
118
|
- Updated dependencies: stripe
|
|
85
119
|
|
|
86
120
|
# 1.1.25 / 2024-02-27
|
|
87
121
|
|
|
88
122
|
### :tada: Enhancements
|
|
123
|
+
|
|
89
124
|
- Updated dependencies: @stripe/stripe-js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, typedoc
|
|
90
125
|
|
|
91
126
|
# 1.1.24 / 2024-02-24
|
|
92
127
|
|
|
93
128
|
### :tada: Enhancements
|
|
129
|
+
|
|
94
130
|
- Updated dependencies: eslint
|
|
95
131
|
|
|
96
132
|
# 1.1.23 / 2024-02-23
|
|
97
133
|
|
|
98
134
|
### :tada: Enhancements
|
|
135
|
+
|
|
99
136
|
- Updated dependencies: stripe
|
|
100
137
|
|
|
101
138
|
# 1.1.22 / 2024-02-22
|
|
102
139
|
|
|
103
140
|
### :tada: Enhancements
|
|
141
|
+
|
|
104
142
|
- Updated dependencies: @stripe/stripe-js
|
|
105
143
|
|
|
106
144
|
# 1.1.21 / 2024-02-20
|
|
107
145
|
|
|
108
146
|
### :tada: Enhancements
|
|
147
|
+
|
|
109
148
|
- Updated dependencies: @typescript-eslint/eslint-plugin, @typescript-eslint/parser
|
|
110
149
|
|
|
111
150
|
# 1.1.20 / 2024-02-16
|
|
112
151
|
|
|
113
152
|
### :tada: Enhancements
|
|
153
|
+
|
|
114
154
|
- Updated dependencies: @stripe/stripe-js, stripe
|
|
115
155
|
|
|
116
156
|
# 1.1.19 / 2024-02-15
|
|
117
157
|
|
|
118
158
|
### :tada: Enhancements
|
|
159
|
+
|
|
119
160
|
- Updated dependencies: @stripe/stripe-js
|
|
120
161
|
|
|
121
162
|
# 1.1.18 / 2024-02-14
|
|
122
163
|
|
|
123
164
|
### :tada: Enhancements
|
|
165
|
+
|
|
124
166
|
- Updated dependencies: @stripe/stripe-js
|
|
125
167
|
|
|
126
168
|
# 1.1.17 / 2024-02-13
|
|
127
169
|
|
|
128
170
|
### :tada: Enhancements
|
|
171
|
+
|
|
129
172
|
- Updated dependencies: @stripe/stripe-js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, chai
|
|
130
173
|
|
|
131
174
|
# 1.1.16 / 2024-02-10
|
|
132
175
|
|
|
133
176
|
### :tada: Enhancements
|
|
177
|
+
|
|
134
178
|
- Updated dependencies: typedoc
|
|
135
179
|
|
|
136
180
|
# 1.1.15 / 2024-02-09
|
|
137
181
|
|
|
138
182
|
### :tada: Enhancements
|
|
183
|
+
|
|
139
184
|
- Updated dependencies: mocha, stripe
|
|
140
185
|
|
|
141
186
|
# 1.1.14 / 2024-02-08
|
|
142
187
|
|
|
143
188
|
### :tada: Enhancements
|
|
189
|
+
|
|
144
190
|
- Updated dependencies: @typescript-eslint/eslint-plugin, @typescript-eslint/parser, stripe
|
|
145
191
|
|
|
146
192
|
# 1.1.13 / 2023-11-21
|
|
147
193
|
|
|
148
194
|
### :tada: Enhancements
|
|
195
|
+
|
|
149
196
|
- Updated dependencies: @stripe/stripe-js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, typescript
|
|
150
197
|
|
|
151
198
|
# 1.1.12 / 2023-11-18
|
|
152
199
|
|
|
153
200
|
### :tada: Enhancements
|
|
201
|
+
|
|
154
202
|
- Updated dependencies: eslint
|
|
155
203
|
|
|
156
204
|
# 1.1.11 / 2023-11-17
|
|
157
205
|
|
|
158
206
|
### :tada: Enhancements
|
|
207
|
+
|
|
159
208
|
- Updated dependencies: stripe
|
|
160
209
|
|
|
161
210
|
# 1.1.10 / 2023-11-14
|
|
162
211
|
|
|
163
212
|
### :tada: Enhancements
|
|
213
|
+
|
|
164
214
|
- Updated dependencies: @typescript-eslint/eslint-plugin, @typescript-eslint/parser
|
|
165
215
|
|
|
166
216
|
# 1.1.9 / 2023-11-10
|
|
167
217
|
|
|
168
218
|
### :tada: Enhancements
|
|
219
|
+
|
|
169
220
|
- Updated dependencies: stripe
|
|
170
221
|
|
|
171
222
|
# 1.1.8 / 2023-11-07
|
|
172
223
|
|
|
173
224
|
### :tada: Enhancements
|
|
225
|
+
|
|
174
226
|
- Updated dependencies: @typescript-eslint/eslint-plugin, @typescript-eslint/parser
|
|
175
227
|
|
|
176
228
|
# 1.1.7 / 2023-11-04
|
|
177
229
|
|
|
178
230
|
### :tada: Enhancements
|
|
231
|
+
|
|
179
232
|
- Updated dependencies: eslint
|
|
180
233
|
|
|
181
234
|
# 1.1.6 / 2023-11-03
|
|
182
235
|
|
|
183
236
|
### :tada: Enhancements
|
|
237
|
+
|
|
184
238
|
- Updated dependencies: @stripe/stripe-js, stripe
|
|
185
239
|
|
|
186
240
|
# 1.1.5 / 2023-10-31
|
|
187
241
|
|
|
188
242
|
### :tada: Enhancements
|
|
243
|
+
|
|
189
244
|
- Updated dependencies: @typescript-eslint/eslint-plugin, @typescript-eslint/parser
|
|
190
245
|
|
|
191
246
|
# 1.1.4 / 2023-10-30
|
|
192
247
|
|
|
193
248
|
### :tada: Enhancements
|
|
249
|
+
|
|
194
250
|
- Updated dependencies: typedoc
|
|
195
251
|
|
|
196
252
|
# 1.1.3 / 2023-10-27
|
|
197
253
|
|
|
198
254
|
### :tada: Enhancements
|
|
255
|
+
|
|
199
256
|
- Updated dependencies: stripe
|
|
200
257
|
|
|
201
258
|
# 1.1.2 / 2023-10-24
|
|
202
259
|
|
|
203
260
|
### :tada: Enhancements
|
|
261
|
+
|
|
204
262
|
- Updated dependencies: @stripe/stripe-js, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint-plugin-import
|
|
205
263
|
|
|
206
264
|
# 1.1.1 / 2023-10-21
|
|
207
265
|
|
|
208
266
|
### :tada: Enhancements
|
|
267
|
+
|
|
209
268
|
- Updated dependencies: eslint
|
|
210
269
|
|
|
211
270
|
# 1.1.0 / 2023-10-18
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* @param paymentMethodId - stripe customer payment method id (see: https://stripe.com/docs/api/cards/object#card_object-id)
|
|
6
6
|
* @returns
|
|
7
7
|
*/
|
|
8
|
-
export declare const confirmPaymentIntentByPaymentMethod: (this: import(".").StripeExtension, paymentIntentSecret: string, paymentMethodId: string, returnUrl?: string
|
|
8
|
+
export declare const confirmPaymentIntentByPaymentMethod: (this: import(".").StripeExtension, paymentIntentSecret: string, paymentMethodId: string, returnUrl?: string) => Promise<import("@stripe/stripe-js").PaymentIntentResult["paymentIntent"] | undefined>;
|
package/lib/methods/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
export declare class StripeExtension {
|
|
5
5
|
constructor(apiKey: string);
|
|
6
6
|
_apiKey: string;
|
|
7
|
-
confirmPaymentIntentByCard: (this: StripeExtension, paymentIntentSecret: string, paymentMethodId: string, returnUrl?: string
|
|
8
|
-
confirmPaymentIntentByPaymentMethod: (this: StripeExtension, paymentIntentSecret: string, paymentMethodId: string, returnUrl?: string
|
|
7
|
+
confirmPaymentIntentByCard: (this: StripeExtension, paymentIntentSecret: string, paymentMethodId: string, returnUrl?: string) => Promise<import("@stripe/stripe-js").PaymentIntentResult["paymentIntent"] | undefined>;
|
|
8
|
+
confirmPaymentIntentByPaymentMethod: (this: StripeExtension, paymentIntentSecret: string, paymentMethodId: string, returnUrl?: string) => Promise<import("@stripe/stripe-js").PaymentIntentResult["paymentIntent"] | undefined>;
|
|
9
9
|
addSourceToCustomer: (this: StripeExtension, token: string, customerId: string, ephemeralKey: string) => Promise<import("@stripe/stripe-js").Card | undefined>;
|
|
10
10
|
deleteSourceFromCustomer: (this: StripeExtension, sourceId: string, customerId: string, ephemeralKey: string) => Promise<import("@stripe/stripe-js").Card | undefined>;
|
|
11
11
|
getAllCards: (this: StripeExtension, customerId: string, ephemeralKey: string) => Promise<any>;
|
package/lib/utils/constants.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const stripeApiUrl = "https://api.stripe.com/v1";
|
|
2
|
-
export declare const stripeApiVersion = "
|
|
2
|
+
export declare const stripeApiVersion = "2024-06-20";
|
package/lib/utils/constants.js
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.stripeApiVersion = exports.stripeApiUrl = void 0;
|
|
4
4
|
exports.stripeApiUrl = "https://api.stripe.com/v1";
|
|
5
|
-
exports.stripeApiVersion = "
|
|
5
|
+
exports.stripeApiVersion = "2024-06-20";
|
|
6
6
|
//# sourceMappingURL=constants.js.map
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sergdudko/stripe-js",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Additional methods for working with stripe-js",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"lint": "./node_modules/.bin/eslint
|
|
8
|
+
"lint": "./node_modules/.bin/eslint src/**/*.ts",
|
|
9
9
|
"prebuild": "npm run lint",
|
|
10
10
|
"build": "./node_modules/.bin/tsc --declaration",
|
|
11
|
-
"test": "./node_modules/.bin/nyc
|
|
11
|
+
"test": "./node_modules/.bin/nyc node --test ./test/*.test.js",
|
|
12
12
|
"doc": "./node_modules/.bin/typedoc --entryPointStrategy expand src",
|
|
13
13
|
"update": "eval \"$(node -e 'const t = require(`./package.json`);const ignore = require(`./ignoreUpdatesModules.json`);console.log(`npm i ${(Object.keys(t.dependencies||{}).filter((e)=>ignore.base.indexOf(e) === -1).map((e)=>(`${e}@latest`)).join(` `))} --save&&npm i ${(Object.keys(t.devDependencies||{}).filter((e)=>ignore.dev.indexOf(e) === -1).map((e)=>(`${e}@latest`)).join(` `))} --save-dev`);')\""
|
|
14
14
|
},
|
|
@@ -50,22 +50,18 @@
|
|
|
50
50
|
},
|
|
51
51
|
"homepage": "https://github.com/siarheidudko/stripe-js#readme",
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"eslint": "^8.57.0",
|
|
57
|
-
"eslint-config-prettier": "^9.1.0",
|
|
58
|
-
"eslint-plugin-import": "^2.29.1",
|
|
59
|
-
"jsdom": "^24.1.0",
|
|
53
|
+
"@eslint/js": "^9.9.1",
|
|
54
|
+
"eslint": "^9.9.1",
|
|
55
|
+
"jsdom": "^24.1.1",
|
|
60
56
|
"jsdom-global": "^3.0.2",
|
|
61
|
-
"mocha": "^10.4.0",
|
|
62
|
-
"node-fetch": "^2.7.0",
|
|
63
57
|
"nyc": "^17.0.0",
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
58
|
+
"prettier": "^3.3.3",
|
|
59
|
+
"stripe": "^16.8.0",
|
|
60
|
+
"typedoc": "^0.26.6",
|
|
61
|
+
"typescript": "^5.5.4",
|
|
62
|
+
"typescript-eslint": "^8.2.0"
|
|
67
63
|
},
|
|
68
64
|
"dependencies": {
|
|
69
|
-
"@stripe/stripe-js": "^4.
|
|
65
|
+
"@stripe/stripe-js": "^4.3.0"
|
|
70
66
|
}
|
|
71
67
|
}
|
package/.eslintrc.js
DELETED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
env: {
|
|
3
|
-
browser: true,
|
|
4
|
-
es6: true,
|
|
5
|
-
node: true,
|
|
6
|
-
},
|
|
7
|
-
extends: [
|
|
8
|
-
"eslint:recommended",
|
|
9
|
-
"prettier",
|
|
10
|
-
"plugin:import/errors",
|
|
11
|
-
"plugin:import/warnings",
|
|
12
|
-
"plugin:import/typescript",
|
|
13
|
-
],
|
|
14
|
-
globals: {
|
|
15
|
-
Atomics: "readonly",
|
|
16
|
-
SharedArrayBuffer: "readonly",
|
|
17
|
-
},
|
|
18
|
-
parser: "@typescript-eslint/parser",
|
|
19
|
-
parserOptions: {
|
|
20
|
-
project: "tsconfig.json",
|
|
21
|
-
sourceType: "module",
|
|
22
|
-
},
|
|
23
|
-
plugins: ["@typescript-eslint"],
|
|
24
|
-
rules: {
|
|
25
|
-
"@typescript-eslint/adjacent-overload-signatures": "error",
|
|
26
|
-
"@typescript-eslint/no-empty-function": "error",
|
|
27
|
-
"@typescript-eslint/no-empty-interface": "off",
|
|
28
|
-
"@typescript-eslint/no-floating-promises": "error",
|
|
29
|
-
"@typescript-eslint/no-namespace": "error",
|
|
30
|
-
"@typescript-eslint/no-unnecessary-type-assertion": "error",
|
|
31
|
-
"@typescript-eslint/prefer-for-of": "warn",
|
|
32
|
-
"@typescript-eslint/triple-slash-reference": "error",
|
|
33
|
-
"@typescript-eslint/unified-signatures": "warn",
|
|
34
|
-
"comma-dangle": ["warn", "only-multiline"],
|
|
35
|
-
"constructor-super": "error",
|
|
36
|
-
eqeqeq: ["warn", "always"],
|
|
37
|
-
"for-direction": "error",
|
|
38
|
-
"getter-return": "error",
|
|
39
|
-
"import/no-deprecated": "warn",
|
|
40
|
-
"import/no-extraneous-dependencies": "error",
|
|
41
|
-
"import/no-unassigned-import": "warn",
|
|
42
|
-
"no-async-promise-executor": "error",
|
|
43
|
-
"no-case-declarations": "error",
|
|
44
|
-
"no-class-assign": "error",
|
|
45
|
-
"no-compare-neg-zero": "error",
|
|
46
|
-
"no-cond-assign": "error",
|
|
47
|
-
"no-const-assign": "error",
|
|
48
|
-
"no-constant-condition": "error",
|
|
49
|
-
"no-control-regex": "error",
|
|
50
|
-
"no-debugger": "error",
|
|
51
|
-
"no-delete-var": "error",
|
|
52
|
-
"no-dupe-args": "error",
|
|
53
|
-
"no-dupe-class-members": "error",
|
|
54
|
-
"no-dupe-else-if": "error",
|
|
55
|
-
"no-dupe-keys": "error",
|
|
56
|
-
"no-duplicate-case": "error",
|
|
57
|
-
"no-duplicate-imports": "error",
|
|
58
|
-
"no-empty": [
|
|
59
|
-
"error",
|
|
60
|
-
{
|
|
61
|
-
allowEmptyCatch: true,
|
|
62
|
-
},
|
|
63
|
-
],
|
|
64
|
-
"no-empty-character-class": "error",
|
|
65
|
-
"no-empty-pattern": "error",
|
|
66
|
-
"no-ex-assign": "error",
|
|
67
|
-
"no-extra-boolean-cast": "error",
|
|
68
|
-
"no-extra-semi": "error",
|
|
69
|
-
"no-fallthrough": "error",
|
|
70
|
-
"no-func-assign": "error",
|
|
71
|
-
"no-global-assign": "error",
|
|
72
|
-
"no-import-assign": "error",
|
|
73
|
-
"no-inner-declarations": "error",
|
|
74
|
-
"no-invalid-regexp": "error",
|
|
75
|
-
"no-invalid-this": "error",
|
|
76
|
-
"no-irregular-whitespace": "error",
|
|
77
|
-
"no-misleading-character-class": "error",
|
|
78
|
-
"no-mixed-spaces-and-tabs": "error",
|
|
79
|
-
"no-new-symbol": "error",
|
|
80
|
-
"no-new-wrappers": "error",
|
|
81
|
-
"no-obj-calls": "error",
|
|
82
|
-
"no-octal": "error",
|
|
83
|
-
"no-param-reassign": "error",
|
|
84
|
-
"no-prototype-builtins": "error",
|
|
85
|
-
"no-redeclare": "error",
|
|
86
|
-
"no-regex-spaces": "error",
|
|
87
|
-
"no-self-assign": "error",
|
|
88
|
-
"no-sequences": "error",
|
|
89
|
-
"no-setter-return": "error",
|
|
90
|
-
"no-shadow": [
|
|
91
|
-
"error",
|
|
92
|
-
{
|
|
93
|
-
hoist: "all",
|
|
94
|
-
},
|
|
95
|
-
],
|
|
96
|
-
"no-shadow-restricted-names": "error",
|
|
97
|
-
"no-sparse-arrays": "error",
|
|
98
|
-
"no-this-before-super": "error",
|
|
99
|
-
"no-throw-literal": "error",
|
|
100
|
-
"no-undef": "error",
|
|
101
|
-
"no-unexpected-multiline": "error",
|
|
102
|
-
"no-unreachable": "error",
|
|
103
|
-
"no-unsafe-finally": "error",
|
|
104
|
-
"no-unsafe-negation": "error",
|
|
105
|
-
"no-unused-labels": "error",
|
|
106
|
-
"no-unused-vars": "off",
|
|
107
|
-
"no-useless-catch": "error",
|
|
108
|
-
"no-useless-escape": "error",
|
|
109
|
-
"no-var": "warn",
|
|
110
|
-
"no-void": "error",
|
|
111
|
-
"no-with": "error",
|
|
112
|
-
"prefer-const": "warn",
|
|
113
|
-
"require-yield": "error",
|
|
114
|
-
"use-isnan": "error",
|
|
115
|
-
"valid-typeof": "error",
|
|
116
|
-
},
|
|
117
|
-
};
|