@open-turo/eslint-config-react 24.0.16 → 24.0.18
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/.github/renovate.json +2 -2
- package/.github/workflows/release.yaml +28 -1
- package/pack/open-turo-eslint-config-react-24.0.18.tgz +0 -0
- package/package.json +5 -5
- package/test/__snapshots__/test.spec.js.snap +1 -1
- package/test.txt +425 -0
- package/.github/workflows/prerelease.yaml +0 -24
- package/pack/open-turo-eslint-config-react-24.0.16.tgz +0 -0
package/.github/renovate.json
CHANGED
|
@@ -3,14 +3,41 @@ name: Release
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
5
|
branches: [main, "[0-9]+.x"]
|
|
6
|
+
pull_request:
|
|
7
|
+
types:
|
|
8
|
+
- opened
|
|
9
|
+
- labeled
|
|
10
|
+
- synchronize
|
|
6
11
|
workflow_dispatch:
|
|
7
12
|
|
|
13
|
+
concurrency:
|
|
14
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
15
|
+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
16
|
+
|
|
17
|
+
permissions:
|
|
18
|
+
contents: write
|
|
19
|
+
issues: read
|
|
20
|
+
pull-requests: read
|
|
21
|
+
id-token: write
|
|
22
|
+
|
|
8
23
|
jobs:
|
|
9
24
|
release:
|
|
10
25
|
name: Release
|
|
11
26
|
runs-on: ubuntu-latest
|
|
27
|
+
if: github.event_name != 'pull_request'
|
|
12
28
|
steps:
|
|
13
29
|
- uses: open-turo/actions-node/release@v7
|
|
14
30
|
with:
|
|
15
31
|
github-token: ${{ secrets.OPEN_TURO_GITHUB_TOKEN }}
|
|
16
|
-
|
|
32
|
+
|
|
33
|
+
prerelease:
|
|
34
|
+
name: Prerelease
|
|
35
|
+
runs-on: ubuntu-latest
|
|
36
|
+
if: github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'prerelease')
|
|
37
|
+
steps:
|
|
38
|
+
- name: Prerelease
|
|
39
|
+
id: prerelease
|
|
40
|
+
uses: open-turo/actions-node/prerelease@v7
|
|
41
|
+
with:
|
|
42
|
+
github-token: ${{ secrets.OPEN_TURO_GITHUB_TOKEN }}
|
|
43
|
+
create-prerelease: true
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
"description": "Turo eslint configuration for react",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@open-turo/eslint-config-typescript": "23.
|
|
6
|
+
"@open-turo/eslint-config-typescript": "23.1.1",
|
|
7
7
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
8
8
|
"eslint-plugin-react": "7.37.5",
|
|
9
9
|
"eslint-plugin-react-hooks": "7.1.1",
|
|
10
10
|
"globals": "17.6.0",
|
|
11
|
-
"typescript-eslint": "8.
|
|
11
|
+
"typescript-eslint": "8.61.1"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@types/react": "19.2.
|
|
14
|
+
"@types/react": "19.2.17",
|
|
15
15
|
"eslint": "9.39.4",
|
|
16
16
|
"jest": "30.4.2",
|
|
17
|
-
"prettier": "3.8.
|
|
17
|
+
"prettier": "3.8.4",
|
|
18
18
|
"react": "19.2.7"
|
|
19
19
|
},
|
|
20
20
|
"engines": {
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"repository": "https://github.com/open-turo/eslint-config-react",
|
|
50
|
-
"version": "24.0.
|
|
50
|
+
"version": "24.0.18"
|
|
51
51
|
}
|
package/test.txt
ADDED
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
diff --git a/test/__snapshots__/test.spec.js.snap b/test/__snapshots__/test.spec.js.snap
|
|
2
|
+
index 83d5cdc..285eed9 100644
|
|
3
|
+
--- a/test/__snapshots__/test.spec.js.snap
|
|
4
|
+
+++ b/test/__snapshots__/test.spec.js.snap
|
|
5
|
+
@@ -3178,9 +3178,22 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
6
|
+
],
|
|
7
|
+
"unicorn/better-regex": [
|
|
8
|
+
0,
|
|
9
|
+
+ {
|
|
10
|
+
+ "sortCharacterClasses": true,
|
|
11
|
+
+ },
|
|
12
|
+
],
|
|
13
|
+
"unicorn/catch-error-name": [
|
|
14
|
+
2,
|
|
15
|
+
+ {
|
|
16
|
+
+ "ignore": [],
|
|
17
|
+
+ "name": "error",
|
|
18
|
+
+ },
|
|
19
|
+
+ ],
|
|
20
|
+
+ "unicorn/consistent-assert": [
|
|
21
|
+
+ 2,
|
|
22
|
+
+ ],
|
|
23
|
+
+ "unicorn/consistent-date-clone": [
|
|
24
|
+
+ 2,
|
|
25
|
+
],
|
|
26
|
+
"unicorn/consistent-destructuring": [
|
|
27
|
+
0,
|
|
28
|
+
@@ -3193,6 +3206,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
29
|
+
],
|
|
30
|
+
"unicorn/consistent-function-scoping": [
|
|
31
|
+
2,
|
|
32
|
+
+ {
|
|
33
|
+
+ "checkArrowFunctions": true,
|
|
34
|
+
+ },
|
|
35
|
+
],
|
|
36
|
+
"unicorn/custom-error-definition": [
|
|
37
|
+
0,
|
|
38
|
+
@@ -3205,6 +3221,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
39
|
+
],
|
|
40
|
+
"unicorn/escape-case": [
|
|
41
|
+
2,
|
|
42
|
+
+ "uppercase",
|
|
43
|
+
],
|
|
44
|
+
"unicorn/expiring-todo-comments": [
|
|
45
|
+
2,
|
|
46
|
+
@@ -3221,12 +3238,29 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
47
|
+
],
|
|
48
|
+
"unicorn/explicit-length-check": [
|
|
49
|
+
2,
|
|
50
|
+
+ {
|
|
51
|
+
+ "non-zero": "greater-than",
|
|
52
|
+
+ },
|
|
53
|
+
],
|
|
54
|
+
"unicorn/filename-case": [
|
|
55
|
+
2,
|
|
56
|
+
],
|
|
57
|
+
"unicorn/import-style": [
|
|
58
|
+
2,
|
|
59
|
+
+ {},
|
|
60
|
+
+ ],
|
|
61
|
+
+ "unicorn/isolated-functions": [
|
|
62
|
+
+ 2,
|
|
63
|
+
+ {
|
|
64
|
+
+ "comments": [
|
|
65
|
+
+ "@isolated",
|
|
66
|
+
+ ],
|
|
67
|
+
+ "functions": [
|
|
68
|
+
+ "makeSynchronous",
|
|
69
|
+
+ ],
|
|
70
|
+
+ "overrideGlobals": {},
|
|
71
|
+
+ "selectors": [],
|
|
72
|
+
+ },
|
|
73
|
+
],
|
|
74
|
+
"unicorn/new-for-builtins": [
|
|
75
|
+
2,
|
|
76
|
+
@@ -3234,6 +3268,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
77
|
+
"unicorn/no-abusive-eslint-disable": [
|
|
78
|
+
2,
|
|
79
|
+
],
|
|
80
|
+
+ "unicorn/no-accessor-recursion": [
|
|
81
|
+
+ 2,
|
|
82
|
+
+ ],
|
|
83
|
+
"unicorn/no-anonymous-default-export": [
|
|
84
|
+
2,
|
|
85
|
+
],
|
|
86
|
+
@@ -3246,11 +3283,23 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
87
|
+
"unicorn/no-array-method-this-argument": [
|
|
88
|
+
2,
|
|
89
|
+
],
|
|
90
|
+
- "unicorn/no-array-push-push": [
|
|
91
|
+
+ "unicorn/no-array-reduce": [
|
|
92
|
+
2,
|
|
93
|
+
+ {
|
|
94
|
+
+ "allowSimpleOperations": true,
|
|
95
|
+
+ },
|
|
96
|
+
],
|
|
97
|
+
- "unicorn/no-array-reduce": [
|
|
98
|
+
+ "unicorn/no-array-reverse": [
|
|
99
|
+
+ 2,
|
|
100
|
+
+ {
|
|
101
|
+
+ "allowExpressionStatement": true,
|
|
102
|
+
+ },
|
|
103
|
+
+ ],
|
|
104
|
+
+ "unicorn/no-array-sort": [
|
|
105
|
+
2,
|
|
106
|
+
+ {
|
|
107
|
+
+ "allowExpressionStatement": true,
|
|
108
|
+
+ },
|
|
109
|
+
],
|
|
110
|
+
"unicorn/no-await-expression-member": [
|
|
111
|
+
2,
|
|
112
|
+
@@ -3273,9 +3322,18 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
113
|
+
"unicorn/no-hex-escape": [
|
|
114
|
+
2,
|
|
115
|
+
],
|
|
116
|
+
- "unicorn/no-instanceof-array": [
|
|
117
|
+
+ "unicorn/no-immediate-mutation": [
|
|
118
|
+
2,
|
|
119
|
+
],
|
|
120
|
+
+ "unicorn/no-instanceof-builtins": [
|
|
121
|
+
+ 2,
|
|
122
|
+
+ {
|
|
123
|
+
+ "exclude": [],
|
|
124
|
+
+ "include": [],
|
|
125
|
+
+ "strategy": "loose",
|
|
126
|
+
+ "useErrorIsError": false,
|
|
127
|
+
+ },
|
|
128
|
+
+ ],
|
|
129
|
+
"unicorn/no-invalid-fetch-options": [
|
|
130
|
+
2,
|
|
131
|
+
],
|
|
132
|
+
@@ -3284,9 +3342,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
133
|
+
],
|
|
134
|
+
"unicorn/no-keyword-prefix": [
|
|
135
|
+
0,
|
|
136
|
+
- ],
|
|
137
|
+
- "unicorn/no-length-as-slice-end": [
|
|
138
|
+
- 2,
|
|
139
|
+
+ {},
|
|
140
|
+
],
|
|
141
|
+
"unicorn/no-lonely-if": [
|
|
142
|
+
2,
|
|
143
|
+
@@ -3294,6 +3350,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
144
|
+
"unicorn/no-magic-array-flat-depth": [
|
|
145
|
+
2,
|
|
146
|
+
],
|
|
147
|
+
+ "unicorn/no-named-default": [
|
|
148
|
+
+ 2,
|
|
149
|
+
+ ],
|
|
150
|
+
"unicorn/no-negated-condition": [
|
|
151
|
+
2,
|
|
152
|
+
],
|
|
153
|
+
@@ -3311,6 +3370,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
154
|
+
],
|
|
155
|
+
"unicorn/no-null": [
|
|
156
|
+
2,
|
|
157
|
+
+ {
|
|
158
|
+
+ "checkStrictEquality": false,
|
|
159
|
+
+ },
|
|
160
|
+
],
|
|
161
|
+
"unicorn/no-object-as-default-parameter": [
|
|
162
|
+
2,
|
|
163
|
+
@@ -3332,6 +3394,15 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
164
|
+
],
|
|
165
|
+
"unicorn/no-typeof-undefined": [
|
|
166
|
+
2,
|
|
167
|
+
+ {
|
|
168
|
+
+ "checkGlobalVariables": false,
|
|
169
|
+
+ },
|
|
170
|
+
+ ],
|
|
171
|
+
+ "unicorn/no-unnecessary-array-flat-depth": [
|
|
172
|
+
+ 2,
|
|
173
|
+
+ ],
|
|
174
|
+
+ "unicorn/no-unnecessary-array-splice-count": [
|
|
175
|
+
+ 2,
|
|
176
|
+
],
|
|
177
|
+
"unicorn/no-unnecessary-await": [
|
|
178
|
+
2,
|
|
179
|
+
@@ -3339,6 +3410,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
180
|
+
"unicorn/no-unnecessary-polyfills": [
|
|
181
|
+
2,
|
|
182
|
+
],
|
|
183
|
+
+ "unicorn/no-unnecessary-slice-end": [
|
|
184
|
+
+ 2,
|
|
185
|
+
+ ],
|
|
186
|
+
"unicorn/no-unreadable-array-destructuring": [
|
|
187
|
+
2,
|
|
188
|
+
],
|
|
189
|
+
@@ -3348,6 +3422,12 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
190
|
+
"unicorn/no-unused-properties": [
|
|
191
|
+
0,
|
|
192
|
+
],
|
|
193
|
+
+ "unicorn/no-useless-collection-argument": [
|
|
194
|
+
+ 2,
|
|
195
|
+
+ ],
|
|
196
|
+
+ "unicorn/no-useless-error-capture-stack-trace": [
|
|
197
|
+
+ 2,
|
|
198
|
+
+ ],
|
|
199
|
+
"unicorn/no-useless-fallback-in-spread": [
|
|
200
|
+
2,
|
|
201
|
+
],
|
|
202
|
+
@@ -3365,24 +3445,62 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
203
|
+
],
|
|
204
|
+
"unicorn/no-useless-undefined": [
|
|
205
|
+
2,
|
|
206
|
+
+ {
|
|
207
|
+
+ "checkArguments": true,
|
|
208
|
+
+ "checkArrowFunctionBody": true,
|
|
209
|
+
+ },
|
|
210
|
+
],
|
|
211
|
+
"unicorn/no-zero-fractions": [
|
|
212
|
+
2,
|
|
213
|
+
],
|
|
214
|
+
"unicorn/number-literal-case": [
|
|
215
|
+
0,
|
|
216
|
+
+ {
|
|
217
|
+
+ "hexadecimalValue": "uppercase",
|
|
218
|
+
+ },
|
|
219
|
+
],
|
|
220
|
+
"unicorn/numeric-separators-style": [
|
|
221
|
+
2,
|
|
222
|
+
+ {
|
|
223
|
+
+ "binary": {
|
|
224
|
+
+ "groupLength": 4,
|
|
225
|
+
+ "minimumDigits": 0,
|
|
226
|
+
+ },
|
|
227
|
+
+ "hexadecimal": {
|
|
228
|
+
+ "groupLength": 2,
|
|
229
|
+
+ "minimumDigits": 0,
|
|
230
|
+
+ },
|
|
231
|
+
+ "number": {
|
|
232
|
+
+ "groupLength": 3,
|
|
233
|
+
+ "minimumDigits": 5,
|
|
234
|
+
+ },
|
|
235
|
+
+ "octal": {
|
|
236
|
+
+ "groupLength": 4,
|
|
237
|
+
+ "minimumDigits": 0,
|
|
238
|
+
+ },
|
|
239
|
+
+ "onlyIfContainsSeparator": false,
|
|
240
|
+
+ },
|
|
241
|
+
],
|
|
242
|
+
"unicorn/prefer-add-event-listener": [
|
|
243
|
+
2,
|
|
244
|
+
+ {
|
|
245
|
+
+ "excludedPackages": [
|
|
246
|
+
+ "koa",
|
|
247
|
+
+ "sax",
|
|
248
|
+
+ ],
|
|
249
|
+
+ },
|
|
250
|
+
],
|
|
251
|
+
"unicorn/prefer-array-find": [
|
|
252
|
+
2,
|
|
253
|
+
+ {
|
|
254
|
+
+ "checkFromLast": true,
|
|
255
|
+
+ },
|
|
256
|
+
],
|
|
257
|
+
"unicorn/prefer-array-flat": [
|
|
258
|
+
2,
|
|
259
|
+
+ {
|
|
260
|
+
+ "functions": [],
|
|
261
|
+
+ },
|
|
262
|
+
],
|
|
263
|
+
"unicorn/prefer-array-flat-map": [
|
|
264
|
+
2,
|
|
265
|
+
@@ -3395,10 +3513,23 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
266
|
+
],
|
|
267
|
+
"unicorn/prefer-at": [
|
|
268
|
+
2,
|
|
269
|
+
+ {
|
|
270
|
+
+ "checkAllIndexAccess": false,
|
|
271
|
+
+ "getLastElementFunctions": [],
|
|
272
|
+
+ },
|
|
273
|
+
+ ],
|
|
274
|
+
+ "unicorn/prefer-bigint-literals": [
|
|
275
|
+
+ 2,
|
|
276
|
+
],
|
|
277
|
+
"unicorn/prefer-blob-reading-methods": [
|
|
278
|
+
2,
|
|
279
|
+
],
|
|
280
|
+
+ "unicorn/prefer-class-fields": [
|
|
281
|
+
+ 2,
|
|
282
|
+
+ ],
|
|
283
|
+
+ "unicorn/prefer-classlist-toggle": [
|
|
284
|
+
+ 2,
|
|
285
|
+
+ ],
|
|
286
|
+
"unicorn/prefer-code-point": [
|
|
287
|
+
2,
|
|
288
|
+
],
|
|
289
|
+
@@ -3425,10 +3556,16 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
290
|
+
],
|
|
291
|
+
"unicorn/prefer-export-from": [
|
|
292
|
+
2,
|
|
293
|
+
+ {
|
|
294
|
+
+ "ignoreUsedVariables": false,
|
|
295
|
+
+ },
|
|
296
|
+
],
|
|
297
|
+
"unicorn/prefer-global-this": [
|
|
298
|
+
2,
|
|
299
|
+
],
|
|
300
|
+
+ "unicorn/prefer-import-meta-properties": [
|
|
301
|
+
+ 0,
|
|
302
|
+
+ ],
|
|
303
|
+
"unicorn/prefer-includes": [
|
|
304
|
+
2,
|
|
305
|
+
],
|
|
306
|
+
@@ -3467,9 +3604,16 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
307
|
+
],
|
|
308
|
+
"unicorn/prefer-number-properties": [
|
|
309
|
+
2,
|
|
310
|
+
+ {
|
|
311
|
+
+ "checkInfinity": false,
|
|
312
|
+
+ "checkNaN": true,
|
|
313
|
+
+ },
|
|
314
|
+
],
|
|
315
|
+
"unicorn/prefer-object-from-entries": [
|
|
316
|
+
2,
|
|
317
|
+
+ {
|
|
318
|
+
+ "functions": [],
|
|
319
|
+
+ },
|
|
320
|
+
],
|
|
321
|
+
"unicorn/prefer-optional-catch-binding": [
|
|
322
|
+
2,
|
|
323
|
+
@@ -3486,12 +3630,21 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
324
|
+
"unicorn/prefer-regexp-test": [
|
|
325
|
+
2,
|
|
326
|
+
],
|
|
327
|
+
+ "unicorn/prefer-response-static-json": [
|
|
328
|
+
+ 2,
|
|
329
|
+
+ ],
|
|
330
|
+
"unicorn/prefer-set-has": [
|
|
331
|
+
2,
|
|
332
|
+
],
|
|
333
|
+
"unicorn/prefer-set-size": [
|
|
334
|
+
2,
|
|
335
|
+
],
|
|
336
|
+
+ "unicorn/prefer-single-call": [
|
|
337
|
+
+ 2,
|
|
338
|
+
+ {
|
|
339
|
+
+ "ignore": [],
|
|
340
|
+
+ },
|
|
341
|
+
+ ],
|
|
342
|
+
"unicorn/prefer-spread": [
|
|
343
|
+
2,
|
|
344
|
+
],
|
|
345
|
+
@@ -3512,12 +3665,20 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
346
|
+
],
|
|
347
|
+
"unicorn/prefer-structured-clone": [
|
|
348
|
+
2,
|
|
349
|
+
+ {
|
|
350
|
+
+ "functions": [],
|
|
351
|
+
+ },
|
|
352
|
+
],
|
|
353
|
+
"unicorn/prefer-switch": [
|
|
354
|
+
2,
|
|
355
|
+
+ {
|
|
356
|
+
+ "emptyDefaultCase": "no-default-comment",
|
|
357
|
+
+ "minimumCases": 3,
|
|
358
|
+
+ },
|
|
359
|
+
],
|
|
360
|
+
"unicorn/prefer-ternary": [
|
|
361
|
+
2,
|
|
362
|
+
+ "always",
|
|
363
|
+
],
|
|
364
|
+
"unicorn/prefer-top-level-await": [
|
|
365
|
+
2,
|
|
366
|
+
@@ -3542,10 +3703,17 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
367
|
+
],
|
|
368
|
+
"unicorn/relative-url-style": [
|
|
369
|
+
2,
|
|
370
|
+
+ "never",
|
|
371
|
+
],
|
|
372
|
+
"unicorn/require-array-join-separator": [
|
|
373
|
+
2,
|
|
374
|
+
],
|
|
375
|
+
+ "unicorn/require-module-attributes": [
|
|
376
|
+
+ 2,
|
|
377
|
+
+ ],
|
|
378
|
+
+ "unicorn/require-module-specifiers": [
|
|
379
|
+
+ 2,
|
|
380
|
+
+ ],
|
|
381
|
+
"unicorn/require-number-to-fixed-digits-argument": [
|
|
382
|
+
2,
|
|
383
|
+
],
|
|
384
|
+
@@ -3554,15 +3722,41 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
385
|
+
],
|
|
386
|
+
"unicorn/string-content": [
|
|
387
|
+
0,
|
|
388
|
+
+ {
|
|
389
|
+
+ "patterns": {},
|
|
390
|
+
+ },
|
|
391
|
+
],
|
|
392
|
+
"unicorn/switch-case-braces": [
|
|
393
|
+
2,
|
|
394
|
+
+ "always",
|
|
395
|
+
],
|
|
396
|
+
"unicorn/template-indent": [
|
|
397
|
+
0,
|
|
398
|
+
+ {
|
|
399
|
+
+ "comments": [
|
|
400
|
+
+ "HTML",
|
|
401
|
+
+ "indent",
|
|
402
|
+
+ ],
|
|
403
|
+
+ "functions": [
|
|
404
|
+
+ "dedent",
|
|
405
|
+
+ "stripIndent",
|
|
406
|
+
+ ],
|
|
407
|
+
+ "selectors": [],
|
|
408
|
+
+ "tags": [
|
|
409
|
+
+ "outdent",
|
|
410
|
+
+ "dedent",
|
|
411
|
+
+ "gql",
|
|
412
|
+
+ "sql",
|
|
413
|
+
+ "html",
|
|
414
|
+
+ "styled",
|
|
415
|
+
+ ],
|
|
416
|
+
+ },
|
|
417
|
+
],
|
|
418
|
+
"unicorn/text-encoding-identifier-case": [
|
|
419
|
+
2,
|
|
420
|
+
+ {
|
|
421
|
+
+ "withDash": false,
|
|
422
|
+
+ },
|
|
423
|
+
],
|
|
424
|
+
"unicorn/throw-new-error": [
|
|
425
|
+
2,
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
name: Prerelease
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
types:
|
|
6
|
-
- opened
|
|
7
|
-
- labeled
|
|
8
|
-
- synchronize
|
|
9
|
-
concurrency:
|
|
10
|
-
group: ${{ github.workflow }}-${{ github.ref }}
|
|
11
|
-
cancel-in-progress: true
|
|
12
|
-
jobs:
|
|
13
|
-
prerelease:
|
|
14
|
-
name: Prerelease
|
|
15
|
-
runs-on: ubuntu-latest
|
|
16
|
-
if: contains(github.event.pull_request.labels.*.name, 'prerelease')
|
|
17
|
-
steps:
|
|
18
|
-
- name: Prerelease
|
|
19
|
-
id: prerelease
|
|
20
|
-
uses: open-turo/actions-node/prerelease@v7
|
|
21
|
-
with:
|
|
22
|
-
github-token: ${{ secrets.OPEN_TURO_GITHUB_TOKEN }}
|
|
23
|
-
npm-token: ${{ secrets.OPEN_TURO_NPM_TOKEN }}
|
|
24
|
-
create-prerelease: true
|
|
Binary file
|