Skip to content

Commit 5ad8a2b

Browse files
authored
release: v1.49.0 (#397)
Co-authored-by: Boshen <Boshen@users.noreply.github.com>
1 parent ad6b118 commit 5ad8a2b

File tree

12 files changed

+277
-143
lines changed

12 files changed

+277
-143
lines changed

integration_test/__snapshots__/autoprefixer.spec.ts.snap

Lines changed: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,14 @@ exports[`autoprefixer > autoprefixer 1`] = `
208208
"vars": "all",
209209
},
210210
],
211+
"no-use-before-define": [
212+
"error",
213+
{
214+
"classes": false,
215+
"functions": false,
216+
"variables": false,
217+
},
218+
],
211219
"no-useless-backreference": "error",
212220
"no-useless-call": "error",
213221
"no-useless-catch": "error",
@@ -222,6 +230,7 @@ exports[`autoprefixer > autoprefixer 1`] = `
222230
"node/global-require": "error",
223231
"node/no-exports-assign": "error",
224232
"node/no-new-require": "error",
233+
"node/no-path-concat": "error",
225234
"prefer-exponentiation-operator": "error",
226235
"prefer-promise-reject-errors": "error",
227236
"prefer-rest-params": "error",
@@ -280,7 +289,6 @@ exports[`autoprefixer > autoprefixer 1`] = `
280289
"n/no-deprecated-api",
281290
"n/no-extraneous-require",
282291
"n/no-missing-require",
283-
"n/no-path-concat",
284292
"n/no-unpublished-require",
285293
"n/no-unsupported-features/es-builtins",
286294
"n/no-unsupported-features/es-syntax",
@@ -308,7 +316,6 @@ exports[`autoprefixer > autoprefixer 1`] = `
308316
"no-octal",
309317
"no-octal-escape",
310318
"no-undef-init",
311-
"no-use-before-define",
312319
],
313320
},
314321
"warnings": [],
@@ -527,6 +534,14 @@ exports[`autoprefixer --js-plugins > autoprefixer--js-plugins 1`] = `
527534
"vars": "all",
528535
},
529536
],
537+
"no-use-before-define": [
538+
"error",
539+
{
540+
"classes": false,
541+
"functions": false,
542+
"variables": false,
543+
},
544+
],
530545
"no-useless-backreference": "error",
531546
"no-useless-call": "error",
532547
"no-useless-catch": "error",
@@ -541,6 +556,7 @@ exports[`autoprefixer --js-plugins > autoprefixer--js-plugins 1`] = `
541556
"node/global-require": "error",
542557
"node/no-exports-assign": "error",
543558
"node/no-new-require": "error",
559+
"node/no-path-concat": "error",
544560
"perfectionist/sort-array-includes": [
545561
"warn",
546562
{
@@ -741,7 +757,6 @@ exports[`autoprefixer --js-plugins > autoprefixer--js-plugins 1`] = `
741757
"n/no-deprecated-api",
742758
"n/no-extraneous-require",
743759
"n/no-missing-require",
744-
"n/no-path-concat",
745760
"n/no-unpublished-require",
746761
"n/no-unsupported-features/es-builtins",
747762
"n/no-unsupported-features/es-syntax",
@@ -769,7 +784,6 @@ exports[`autoprefixer --js-plugins > autoprefixer--js-plugins 1`] = `
769784
"no-octal",
770785
"no-octal-escape",
771786
"no-undef-init",
772-
"no-use-before-define",
773787
],
774788
},
775789
"warnings": [],
@@ -984,6 +998,14 @@ exports[`autoprefixer --type-aware > autoprefixer--type-aware 1`] = `
984998
"vars": "all",
985999
},
9861000
],
1001+
"no-use-before-define": [
1002+
"error",
1003+
{
1004+
"classes": false,
1005+
"functions": false,
1006+
"variables": false,
1007+
},
1008+
],
9871009
"no-useless-backreference": "error",
9881010
"no-useless-call": "error",
9891011
"no-useless-catch": "error",
@@ -998,6 +1020,7 @@ exports[`autoprefixer --type-aware > autoprefixer--type-aware 1`] = `
9981020
"node/global-require": "error",
9991021
"node/no-exports-assign": "error",
10001022
"node/no-new-require": "error",
1023+
"node/no-path-concat": "error",
10011024
"prefer-exponentiation-operator": "error",
10021025
"prefer-promise-reject-errors": "error",
10031026
"prefer-rest-params": "error",
@@ -1056,7 +1079,6 @@ exports[`autoprefixer --type-aware > autoprefixer--type-aware 1`] = `
10561079
"n/no-deprecated-api",
10571080
"n/no-extraneous-require",
10581081
"n/no-missing-require",
1059-
"n/no-path-concat",
10601082
"n/no-unpublished-require",
10611083
"n/no-unsupported-features/es-builtins",
10621084
"n/no-unsupported-features/es-syntax",
@@ -1084,7 +1106,6 @@ exports[`autoprefixer --type-aware > autoprefixer--type-aware 1`] = `
10841106
"no-octal",
10851107
"no-octal-escape",
10861108
"no-undef-init",
1087-
"no-use-before-define",
10881109
],
10891110
},
10901111
"warnings": [],
@@ -1263,6 +1284,14 @@ exports[`autoprefixer merge > autoprefixer--merge 1`] = `
12631284
"vars": "all",
12641285
},
12651286
],
1287+
"no-use-before-define": [
1288+
"error",
1289+
{
1290+
"classes": false,
1291+
"functions": false,
1292+
"variables": false,
1293+
},
1294+
],
12661295
"no-useless-computed-key": "error",
12671296
"no-useless-constructor": "error",
12681297
"no-useless-return": "error",
@@ -1271,6 +1300,7 @@ exports[`autoprefixer merge > autoprefixer--merge 1`] = `
12711300
"node/global-require": "error",
12721301
"node/no-exports-assign": "error",
12731302
"node/no-new-require": "error",
1303+
"node/no-path-concat": "error",
12741304
"prefer-exponentiation-operator": "error",
12751305
"prefer-promise-reject-errors": "error",
12761306
"prefer-rest-params": "error",
@@ -1328,7 +1358,6 @@ exports[`autoprefixer merge > autoprefixer--merge 1`] = `
13281358
"n/no-deprecated-api",
13291359
"n/no-extraneous-require",
13301360
"n/no-missing-require",
1331-
"n/no-path-concat",
13321361
"n/no-unpublished-require",
13331362
"n/no-unsupported-features/es-builtins",
13341363
"n/no-unsupported-features/es-syntax",
@@ -1356,7 +1385,6 @@ exports[`autoprefixer merge > autoprefixer--merge 1`] = `
13561385
"no-octal",
13571386
"no-octal-escape",
13581387
"no-undef-init",
1359-
"no-use-before-define",
13601388
],
13611389
},
13621390
"warnings": [],

integration_test/__snapshots__/many-extends.spec.ts.snap

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -247,12 +247,6 @@ exports[`many-extends.spec.ts > many-extends.spec.ts 1`] = `
247247
"react/no-deprecated",
248248
"react/prop-types",
249249
"@typescript-eslint/no-unnecessary-type-conversion",
250-
"@typescript-eslint/no-unnecessary-type-parameters",
251-
"@typescript-eslint/no-useless-default-assignment",
252-
"@typescript-eslint/dot-notation",
253-
"@typescript-eslint/prefer-find",
254-
"@typescript-eslint/prefer-regexp-exec",
255-
"@typescript-eslint/prefer-string-starts-ends-with",
256250
"jsdoc/no-types",
257251
"react/prefer-stateless-function",
258252
"react/function-component-definition",
@@ -265,7 +259,13 @@ exports[`many-extends.spec.ts > many-extends.spec.ts 1`] = `
265259
"import/export",
266260
"react/require-render-return",
267261
"@typescript-eslint/no-unnecessary-condition",
262+
"@typescript-eslint/no-unnecessary-type-parameters",
263+
"@typescript-eslint/no-useless-default-assignment",
264+
"@typescript-eslint/dot-notation",
265+
"@typescript-eslint/prefer-find",
268266
"@typescript-eslint/prefer-optional-chain",
267+
"@typescript-eslint/prefer-regexp-exec",
268+
"@typescript-eslint/prefer-string-starts-ends-with",
269269
],
270270
"type-aware": [
271271
"@typescript-eslint/await-thenable",
@@ -586,12 +586,6 @@ exports[`many-extends.spec.ts --js-plugins > many-extends.spec.ts--js-plugins 1`
586586
"react/no-deprecated",
587587
"react/prop-types",
588588
"@typescript-eslint/no-unnecessary-type-conversion",
589-
"@typescript-eslint/no-unnecessary-type-parameters",
590-
"@typescript-eslint/no-useless-default-assignment",
591-
"@typescript-eslint/dot-notation",
592-
"@typescript-eslint/prefer-find",
593-
"@typescript-eslint/prefer-regexp-exec",
594-
"@typescript-eslint/prefer-string-starts-ends-with",
595589
"jsdoc/no-types",
596590
"react/prefer-stateless-function",
597591
"react/function-component-definition",
@@ -604,7 +598,13 @@ exports[`many-extends.spec.ts --js-plugins > many-extends.spec.ts--js-plugins 1`
604598
"import/export",
605599
"react/require-render-return",
606600
"@typescript-eslint/no-unnecessary-condition",
601+
"@typescript-eslint/no-unnecessary-type-parameters",
602+
"@typescript-eslint/no-useless-default-assignment",
603+
"@typescript-eslint/dot-notation",
604+
"@typescript-eslint/prefer-find",
607605
"@typescript-eslint/prefer-optional-chain",
606+
"@typescript-eslint/prefer-regexp-exec",
607+
"@typescript-eslint/prefer-string-starts-ends-with",
608608
],
609609
"type-aware": [
610610
"@typescript-eslint/await-thenable",
@@ -986,12 +986,6 @@ exports[`many-extends.spec.ts --type-aware > many-extends.spec.ts--type-aware 1`
986986
"react/no-deprecated",
987987
"react/prop-types",
988988
"@typescript-eslint/no-unnecessary-type-conversion",
989-
"@typescript-eslint/no-unnecessary-type-parameters",
990-
"@typescript-eslint/no-useless-default-assignment",
991-
"@typescript-eslint/dot-notation",
992-
"@typescript-eslint/prefer-find",
993-
"@typescript-eslint/prefer-regexp-exec",
994-
"@typescript-eslint/prefer-string-starts-ends-with",
995989
"jsdoc/no-types",
996990
"react/prefer-stateless-function",
997991
"react/function-component-definition",
@@ -1004,7 +998,13 @@ exports[`many-extends.spec.ts --type-aware > many-extends.spec.ts--type-aware 1`
1004998
"import/export",
1005999
"react/require-render-return",
10061000
"@typescript-eslint/no-unnecessary-condition",
1001+
"@typescript-eslint/no-unnecessary-type-parameters",
1002+
"@typescript-eslint/no-useless-default-assignment",
1003+
"@typescript-eslint/dot-notation",
1004+
"@typescript-eslint/prefer-find",
10071005
"@typescript-eslint/prefer-optional-chain",
1006+
"@typescript-eslint/prefer-regexp-exec",
1007+
"@typescript-eslint/prefer-string-starts-ends-with",
10081008
],
10091009
"type-aware": [],
10101010
"unsupported": [
@@ -1239,12 +1239,6 @@ exports[`many-extends.spec.ts merge > many-extends.spec.ts--merge 1`] = `
12391239
"react/no-deprecated",
12401240
"react/prop-types",
12411241
"@typescript-eslint/no-unnecessary-type-conversion",
1242-
"@typescript-eslint/no-unnecessary-type-parameters",
1243-
"@typescript-eslint/no-useless-default-assignment",
1244-
"@typescript-eslint/dot-notation",
1245-
"@typescript-eslint/prefer-find",
1246-
"@typescript-eslint/prefer-regexp-exec",
1247-
"@typescript-eslint/prefer-string-starts-ends-with",
12481242
"jsdoc/no-types",
12491243
"react/prefer-stateless-function",
12501244
"react/function-component-definition",
@@ -1257,7 +1251,13 @@ exports[`many-extends.spec.ts merge > many-extends.spec.ts--merge 1`] = `
12571251
"import/export",
12581252
"react/require-render-return",
12591253
"@typescript-eslint/no-unnecessary-condition",
1254+
"@typescript-eslint/no-unnecessary-type-parameters",
1255+
"@typescript-eslint/no-useless-default-assignment",
1256+
"@typescript-eslint/dot-notation",
1257+
"@typescript-eslint/prefer-find",
12601258
"@typescript-eslint/prefer-optional-chain",
1259+
"@typescript-eslint/prefer-regexp-exec",
1260+
"@typescript-eslint/prefer-string-starts-ends-with",
12611261
],
12621262
"type-aware": [
12631263
"@typescript-eslint/await-thenable",

0 commit comments

Comments
 (0)