@biomejs/biome 2.4.0 → 2.4.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/configuration_schema.json +356 -8
- package/package.json +9 -9
|
@@ -1431,7 +1431,7 @@
|
|
|
1431
1431
|
"anyOf": [{ "$ref": "#/$defs/QuoteStyle" }, { "type": "null" }]
|
|
1432
1432
|
},
|
|
1433
1433
|
"trailingNewline": {
|
|
1434
|
-
"description": "Whether to add a trailing newline at the end of the file.\n\nSetting this option to `false` is **highly discouraged** because it could cause many problems with other tools:\n-
|
|
1434
|
+
"description": "Whether to add a trailing newline at the end of the file.\n\nSetting this option to `false` is **highly discouraged** because it could cause many problems with other tools:\n- https://thoughtbot.com/blog/no-newline-at-end-of-file\n- https://callmeryan.medium.com/no-newline-at-end-of-file-navigating-gits-warning-for-android-developers-af14e73dd804\n- https://unix.stackexchange.com/questions/345548/how-to-cat-files-together-adding-missing-newlines-at-end-of-some-files\n\nDisable the option at your own risk.\n\nDefaults to true.",
|
|
1435
1435
|
"anyOf": [{ "$ref": "#/$defs/TrailingNewline" }, { "type": "null" }]
|
|
1436
1436
|
}
|
|
1437
1437
|
},
|
|
@@ -1672,7 +1672,7 @@
|
|
|
1672
1672
|
"anyOf": [{ "$ref": "#/$defs/LineWidth" }, { "type": "null" }]
|
|
1673
1673
|
},
|
|
1674
1674
|
"trailingNewline": {
|
|
1675
|
-
"description": "Whether to add a trailing newline at the end of the file.\n\nSetting this option to `false` is **highly discouraged** because it could cause many problems with other tools:\n-
|
|
1675
|
+
"description": "Whether to add a trailing newline at the end of the file.\n\nSetting this option to `false` is **highly discouraged** because it could cause many problems with other tools:\n- https://thoughtbot.com/blog/no-newline-at-end-of-file\n- https://callmeryan.medium.com/no-newline-at-end-of-file-navigating-gits-warning-for-android-developers-af14e73dd804\n- https://unix.stackexchange.com/questions/345548/how-to-cat-files-together-adding-missing-newlines-at-end-of-some-files\n\nDisable the option at your own risk.\n\nDefaults to true.",
|
|
1676
1676
|
"anyOf": [{ "$ref": "#/$defs/TrailingNewline" }, { "type": "null" }]
|
|
1677
1677
|
},
|
|
1678
1678
|
"useEditorconfig": {
|
|
@@ -1762,7 +1762,7 @@
|
|
|
1762
1762
|
"default": null
|
|
1763
1763
|
},
|
|
1764
1764
|
"trailingNewline": {
|
|
1765
|
-
"description": "Whether to add a trailing newline at the end of the file.\n\nSetting this option to `false` is **highly discouraged** because it could cause many problems with other tools:\n-
|
|
1765
|
+
"description": "Whether to add a trailing newline at the end of the file.\n\nSetting this option to `false` is **highly discouraged** because it could cause many problems with other tools:\n- https://thoughtbot.com/blog/no-newline-at-end-of-file\n- https://callmeryan.medium.com/no-newline-at-end-of-file-navigating-gits-warning-for-android-developers-af14e73dd804\n- https://unix.stackexchange.com/questions/345548/how-to-cat-files-together-adding-missing-newlines-at-end-of-some-files\n\nDisable the option at your own risk.\n\nDefaults to true.",
|
|
1766
1766
|
"anyOf": [{ "$ref": "#/$defs/TrailingNewline" }, { "type": "null" }]
|
|
1767
1767
|
}
|
|
1768
1768
|
},
|
|
@@ -1842,7 +1842,7 @@
|
|
|
1842
1842
|
"anyOf": [{ "$ref": "#/$defs/LineWidth" }, { "type": "null" }]
|
|
1843
1843
|
},
|
|
1844
1844
|
"trailingNewline": {
|
|
1845
|
-
"description": "Whether to add a trailing newline at the end of the file.\n\nSetting this option to `false` is **highly discouraged** because it could cause many problems with other tools:\n-
|
|
1845
|
+
"description": "Whether to add a trailing newline at the end of the file.\n\nSetting this option to `false` is **highly discouraged** because it could cause many problems with other tools:\n- https://thoughtbot.com/blog/no-newline-at-end-of-file\n- https://callmeryan.medium.com/no-newline-at-end-of-file-navigating-gits-warning-for-android-developers-af14e73dd804\n- https://unix.stackexchange.com/questions/345548/how-to-cat-files-together-adding-missing-newlines-at-end-of-some-files\n\nDisable the option at your own risk.\n\nDefaults to true.",
|
|
1846
1846
|
"anyOf": [{ "$ref": "#/$defs/TrailingNewline" }, { "type": "null" }]
|
|
1847
1847
|
}
|
|
1848
1848
|
},
|
|
@@ -2021,7 +2021,7 @@
|
|
|
2021
2021
|
]
|
|
2022
2022
|
},
|
|
2023
2023
|
"trailingNewline": {
|
|
2024
|
-
"description": "Whether to add a trailing newline at the end of the file.\n\nSetting this option to `false` is **highly discouraged** because it could cause many problems with other tools:\n-
|
|
2024
|
+
"description": "Whether to add a trailing newline at the end of the file.\n\nSetting this option to `false` is **highly discouraged** because it could cause many problems with other tools:\n- https://thoughtbot.com/blog/no-newline-at-end-of-file\n- https://callmeryan.medium.com/no-newline-at-end-of-file-navigating-gits-warning-for-android-developers-af14e73dd804\n- https://unix.stackexchange.com/questions/345548/how-to-cat-files-together-adding-missing-newlines-at-end-of-some-files\n\nDisable the option at your own risk.\n\nDefaults to true.",
|
|
2025
2025
|
"anyOf": [{ "$ref": "#/$defs/TrailingNewline" }, { "type": "null" }]
|
|
2026
2026
|
},
|
|
2027
2027
|
"whitespaceSensitivity": {
|
|
@@ -2229,7 +2229,7 @@
|
|
|
2229
2229
|
"anyOf": [{ "$ref": "#/$defs/JsTrailingCommas" }, { "type": "null" }]
|
|
2230
2230
|
},
|
|
2231
2231
|
"trailingNewline": {
|
|
2232
|
-
"description": "Whether to add a trailing newline at the end of the file.\n\nSetting this option to `false` is **highly discouraged** because it could cause many problems with other tools:\n-
|
|
2232
|
+
"description": "Whether to add a trailing newline at the end of the file.\n\nSetting this option to `false` is **highly discouraged** because it could cause many problems with other tools:\n- https://thoughtbot.com/blog/no-newline-at-end-of-file\n- https://callmeryan.medium.com/no-newline-at-end-of-file-navigating-gits-warning-for-android-developers-af14e73dd804\n- https://unix.stackexchange.com/questions/345548/how-to-cat-files-together-adding-missing-newlines-at-end-of-some-files\n\nDisable the option at your own risk.\n\nDefaults to true.",
|
|
2233
2233
|
"anyOf": [{ "$ref": "#/$defs/TrailingNewline" }, { "type": "null" }]
|
|
2234
2234
|
}
|
|
2235
2235
|
},
|
|
@@ -2355,7 +2355,7 @@
|
|
|
2355
2355
|
]
|
|
2356
2356
|
},
|
|
2357
2357
|
"trailingNewline": {
|
|
2358
|
-
"description": "Whether to add a trailing newline at the end of the file.\n\nSetting this option to `false` is **highly discouraged** because it could cause many problems with other tools:\n-
|
|
2358
|
+
"description": "Whether to add a trailing newline at the end of the file.\n\nSetting this option to `false` is **highly discouraged** because it could cause many problems with other tools:\n- https://thoughtbot.com/blog/no-newline-at-end-of-file\n- https://callmeryan.medium.com/no-newline-at-end-of-file-navigating-gits-warning-for-android-developers-af14e73dd804\n- https://unix.stackexchange.com/questions/345548/how-to-cat-files-together-adding-missing-newlines-at-end-of-some-files\n\nDisable the option at your own risk.\n\nDefaults to true.",
|
|
2359
2359
|
"anyOf": [{ "$ref": "#/$defs/TrailingNewline" }, { "type": "null" }]
|
|
2360
2360
|
}
|
|
2361
2361
|
},
|
|
@@ -2871,6 +2871,16 @@
|
|
|
2871
2871
|
"type": "object",
|
|
2872
2872
|
"additionalProperties": false
|
|
2873
2873
|
},
|
|
2874
|
+
"NoConditionalExpectConfiguration": {
|
|
2875
|
+
"oneOf": [
|
|
2876
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
2877
|
+
{ "$ref": "#/$defs/RuleWithNoConditionalExpectOptions" }
|
|
2878
|
+
]
|
|
2879
|
+
},
|
|
2880
|
+
"NoConditionalExpectOptions": {
|
|
2881
|
+
"type": "object",
|
|
2882
|
+
"additionalProperties": false
|
|
2883
|
+
},
|
|
2874
2884
|
"NoConfusingLabelsConfiguration": {
|
|
2875
2885
|
"oneOf": [
|
|
2876
2886
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -4354,6 +4364,106 @@
|
|
|
4354
4364
|
"type": "object",
|
|
4355
4365
|
"additionalProperties": false
|
|
4356
4366
|
},
|
|
4367
|
+
"NoPlaywrightElementHandleConfiguration": {
|
|
4368
|
+
"oneOf": [
|
|
4369
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4370
|
+
{ "$ref": "#/$defs/RuleWithNoPlaywrightElementHandleOptions" }
|
|
4371
|
+
]
|
|
4372
|
+
},
|
|
4373
|
+
"NoPlaywrightElementHandleOptions": {
|
|
4374
|
+
"type": "object",
|
|
4375
|
+
"additionalProperties": false
|
|
4376
|
+
},
|
|
4377
|
+
"NoPlaywrightEvalConfiguration": {
|
|
4378
|
+
"oneOf": [
|
|
4379
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4380
|
+
{ "$ref": "#/$defs/RuleWithNoPlaywrightEvalOptions" }
|
|
4381
|
+
]
|
|
4382
|
+
},
|
|
4383
|
+
"NoPlaywrightEvalOptions": {
|
|
4384
|
+
"type": "object",
|
|
4385
|
+
"additionalProperties": false
|
|
4386
|
+
},
|
|
4387
|
+
"NoPlaywrightForceOptionConfiguration": {
|
|
4388
|
+
"oneOf": [
|
|
4389
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4390
|
+
{ "$ref": "#/$defs/RuleWithNoPlaywrightForceOptionOptions" }
|
|
4391
|
+
]
|
|
4392
|
+
},
|
|
4393
|
+
"NoPlaywrightForceOptionOptions": {
|
|
4394
|
+
"type": "object",
|
|
4395
|
+
"additionalProperties": false
|
|
4396
|
+
},
|
|
4397
|
+
"NoPlaywrightMissingAwaitConfiguration": {
|
|
4398
|
+
"oneOf": [
|
|
4399
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4400
|
+
{ "$ref": "#/$defs/RuleWithNoPlaywrightMissingAwaitOptions" }
|
|
4401
|
+
]
|
|
4402
|
+
},
|
|
4403
|
+
"NoPlaywrightMissingAwaitOptions": {
|
|
4404
|
+
"type": "object",
|
|
4405
|
+
"additionalProperties": false
|
|
4406
|
+
},
|
|
4407
|
+
"NoPlaywrightNetworkidleConfiguration": {
|
|
4408
|
+
"oneOf": [
|
|
4409
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4410
|
+
{ "$ref": "#/$defs/RuleWithNoPlaywrightNetworkidleOptions" }
|
|
4411
|
+
]
|
|
4412
|
+
},
|
|
4413
|
+
"NoPlaywrightNetworkidleOptions": {
|
|
4414
|
+
"type": "object",
|
|
4415
|
+
"additionalProperties": false
|
|
4416
|
+
},
|
|
4417
|
+
"NoPlaywrightPagePauseConfiguration": {
|
|
4418
|
+
"oneOf": [
|
|
4419
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4420
|
+
{ "$ref": "#/$defs/RuleWithNoPlaywrightPagePauseOptions" }
|
|
4421
|
+
]
|
|
4422
|
+
},
|
|
4423
|
+
"NoPlaywrightPagePauseOptions": {
|
|
4424
|
+
"type": "object",
|
|
4425
|
+
"additionalProperties": false
|
|
4426
|
+
},
|
|
4427
|
+
"NoPlaywrightUselessAwaitConfiguration": {
|
|
4428
|
+
"oneOf": [
|
|
4429
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4430
|
+
{ "$ref": "#/$defs/RuleWithNoPlaywrightUselessAwaitOptions" }
|
|
4431
|
+
]
|
|
4432
|
+
},
|
|
4433
|
+
"NoPlaywrightUselessAwaitOptions": {
|
|
4434
|
+
"type": "object",
|
|
4435
|
+
"additionalProperties": false
|
|
4436
|
+
},
|
|
4437
|
+
"NoPlaywrightWaitForNavigationConfiguration": {
|
|
4438
|
+
"oneOf": [
|
|
4439
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4440
|
+
{ "$ref": "#/$defs/RuleWithNoPlaywrightWaitForNavigationOptions" }
|
|
4441
|
+
]
|
|
4442
|
+
},
|
|
4443
|
+
"NoPlaywrightWaitForNavigationOptions": {
|
|
4444
|
+
"type": "object",
|
|
4445
|
+
"additionalProperties": false
|
|
4446
|
+
},
|
|
4447
|
+
"NoPlaywrightWaitForSelectorConfiguration": {
|
|
4448
|
+
"oneOf": [
|
|
4449
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4450
|
+
{ "$ref": "#/$defs/RuleWithNoPlaywrightWaitForSelectorOptions" }
|
|
4451
|
+
]
|
|
4452
|
+
},
|
|
4453
|
+
"NoPlaywrightWaitForSelectorOptions": {
|
|
4454
|
+
"type": "object",
|
|
4455
|
+
"additionalProperties": false
|
|
4456
|
+
},
|
|
4457
|
+
"NoPlaywrightWaitForTimeoutConfiguration": {
|
|
4458
|
+
"oneOf": [
|
|
4459
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
4460
|
+
{ "$ref": "#/$defs/RuleWithNoPlaywrightWaitForTimeoutOptions" }
|
|
4461
|
+
]
|
|
4462
|
+
},
|
|
4463
|
+
"NoPlaywrightWaitForTimeoutOptions": {
|
|
4464
|
+
"type": "object",
|
|
4465
|
+
"additionalProperties": false
|
|
4466
|
+
},
|
|
4357
4467
|
"NoPositiveTabindexConfiguration": {
|
|
4358
4468
|
"oneOf": [
|
|
4359
4469
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -5639,6 +5749,13 @@
|
|
|
5639
5749
|
{ "type": "null" }
|
|
5640
5750
|
]
|
|
5641
5751
|
},
|
|
5752
|
+
"noConditionalExpect": {
|
|
5753
|
+
"description": "Disallow conditional expect() calls inside tests.\nSee https://biomejs.dev/linter/rules/no-conditional-expect",
|
|
5754
|
+
"anyOf": [
|
|
5755
|
+
{ "$ref": "#/$defs/NoConditionalExpectConfiguration" },
|
|
5756
|
+
{ "type": "null" }
|
|
5757
|
+
]
|
|
5758
|
+
},
|
|
5642
5759
|
"noContinue": {
|
|
5643
5760
|
"description": "Disallow continue statements.\nSee https://biomejs.dev/linter/rules/no-continue",
|
|
5644
5761
|
"anyOf": [
|
|
@@ -5828,6 +5945,76 @@
|
|
|
5828
5945
|
{ "type": "null" }
|
|
5829
5946
|
]
|
|
5830
5947
|
},
|
|
5948
|
+
"noPlaywrightElementHandle": {
|
|
5949
|
+
"description": "Disallow usage of element handles (page.$() and page.$$()).\nSee https://biomejs.dev/linter/rules/no-playwright-element-handle",
|
|
5950
|
+
"anyOf": [
|
|
5951
|
+
{ "$ref": "#/$defs/NoPlaywrightElementHandleConfiguration" },
|
|
5952
|
+
{ "type": "null" }
|
|
5953
|
+
]
|
|
5954
|
+
},
|
|
5955
|
+
"noPlaywrightEval": {
|
|
5956
|
+
"description": "Disallow usage of page.$eval() and page.$$eval().\nSee https://biomejs.dev/linter/rules/no-playwright-eval",
|
|
5957
|
+
"anyOf": [
|
|
5958
|
+
{ "$ref": "#/$defs/NoPlaywrightEvalConfiguration" },
|
|
5959
|
+
{ "type": "null" }
|
|
5960
|
+
]
|
|
5961
|
+
},
|
|
5962
|
+
"noPlaywrightForceOption": {
|
|
5963
|
+
"description": "Disallow usage of the { force: true } option.\nSee https://biomejs.dev/linter/rules/no-playwright-force-option",
|
|
5964
|
+
"anyOf": [
|
|
5965
|
+
{ "$ref": "#/$defs/NoPlaywrightForceOptionConfiguration" },
|
|
5966
|
+
{ "type": "null" }
|
|
5967
|
+
]
|
|
5968
|
+
},
|
|
5969
|
+
"noPlaywrightMissingAwait": {
|
|
5970
|
+
"description": "Enforce Playwright async APIs to be awaited or returned.\nSee https://biomejs.dev/linter/rules/no-playwright-missing-await",
|
|
5971
|
+
"anyOf": [
|
|
5972
|
+
{ "$ref": "#/$defs/NoPlaywrightMissingAwaitConfiguration" },
|
|
5973
|
+
{ "type": "null" }
|
|
5974
|
+
]
|
|
5975
|
+
},
|
|
5976
|
+
"noPlaywrightNetworkidle": {
|
|
5977
|
+
"description": "Disallow usage of the networkidle option.\nSee https://biomejs.dev/linter/rules/no-playwright-networkidle",
|
|
5978
|
+
"anyOf": [
|
|
5979
|
+
{ "$ref": "#/$defs/NoPlaywrightNetworkidleConfiguration" },
|
|
5980
|
+
{ "type": "null" }
|
|
5981
|
+
]
|
|
5982
|
+
},
|
|
5983
|
+
"noPlaywrightPagePause": {
|
|
5984
|
+
"description": "Disallow using page.pause().\nSee https://biomejs.dev/linter/rules/no-playwright-page-pause",
|
|
5985
|
+
"anyOf": [
|
|
5986
|
+
{ "$ref": "#/$defs/NoPlaywrightPagePauseConfiguration" },
|
|
5987
|
+
{ "type": "null" }
|
|
5988
|
+
]
|
|
5989
|
+
},
|
|
5990
|
+
"noPlaywrightUselessAwait": {
|
|
5991
|
+
"description": "Disallow unnecessary await for Playwright methods that don't return promises.\nSee https://biomejs.dev/linter/rules/no-playwright-useless-await",
|
|
5992
|
+
"anyOf": [
|
|
5993
|
+
{ "$ref": "#/$defs/NoPlaywrightUselessAwaitConfiguration" },
|
|
5994
|
+
{ "type": "null" }
|
|
5995
|
+
]
|
|
5996
|
+
},
|
|
5997
|
+
"noPlaywrightWaitForNavigation": {
|
|
5998
|
+
"description": "Disallow using page.waitForNavigation().\nSee https://biomejs.dev/linter/rules/no-playwright-wait-for-navigation",
|
|
5999
|
+
"anyOf": [
|
|
6000
|
+
{ "$ref": "#/$defs/NoPlaywrightWaitForNavigationConfiguration" },
|
|
6001
|
+
{ "type": "null" }
|
|
6002
|
+
]
|
|
6003
|
+
},
|
|
6004
|
+
"noPlaywrightWaitForSelector": {
|
|
6005
|
+
"description": "Disallow using page.waitForSelector().\nSee https://biomejs.dev/linter/rules/no-playwright-wait-for-selector",
|
|
6006
|
+
"anyOf": [
|
|
6007
|
+
{ "$ref": "#/$defs/NoPlaywrightWaitForSelectorConfiguration" },
|
|
6008
|
+
{ "type": "null" }
|
|
6009
|
+
]
|
|
6010
|
+
},
|
|
6011
|
+
"noPlaywrightWaitForTimeout": {
|
|
6012
|
+
"description": "Disallow using page.waitForTimeout().\nSee https://biomejs.dev/linter/rules/no-playwright-wait-for-timeout",
|
|
6013
|
+
"anyOf": [
|
|
6014
|
+
{ "$ref": "#/$defs/NoPlaywrightWaitForTimeoutConfiguration" },
|
|
6015
|
+
{ "type": "null" }
|
|
6016
|
+
]
|
|
6017
|
+
},
|
|
5831
6018
|
"noProto": {
|
|
5832
6019
|
"description": "Disallow the use of the deprecated __proto__ object property.\nSee https://biomejs.dev/linter/rules/no-proto",
|
|
5833
6020
|
"anyOf": [
|
|
@@ -5993,6 +6180,13 @@
|
|
|
5993
6180
|
{ "type": "null" }
|
|
5994
6181
|
]
|
|
5995
6182
|
},
|
|
6183
|
+
"useExpect": {
|
|
6184
|
+
"description": "Ensure that test functions contain at least one expect() assertion.\nSee https://biomejs.dev/linter/rules/use-expect",
|
|
6185
|
+
"anyOf": [
|
|
6186
|
+
{ "$ref": "#/$defs/UseExpectConfiguration" },
|
|
6187
|
+
{ "type": "null" }
|
|
6188
|
+
]
|
|
6189
|
+
},
|
|
5996
6190
|
"useExplicitType": {
|
|
5997
6191
|
"description": "Enforce types in functions, methods, variables, and parameters.\nSee https://biomejs.dev/linter/rules/use-explicit-type",
|
|
5998
6192
|
"anyOf": [
|
|
@@ -6042,6 +6236,15 @@
|
|
|
6042
6236
|
{ "type": "null" }
|
|
6043
6237
|
]
|
|
6044
6238
|
},
|
|
6239
|
+
"usePlaywrightValidDescribeCallback": {
|
|
6240
|
+
"description": "Enforce valid describe() callback.\nSee https://biomejs.dev/linter/rules/use-playwright-valid-describe-callback",
|
|
6241
|
+
"anyOf": [
|
|
6242
|
+
{
|
|
6243
|
+
"$ref": "#/$defs/UsePlaywrightValidDescribeCallbackConfiguration"
|
|
6244
|
+
},
|
|
6245
|
+
{ "type": "null" }
|
|
6246
|
+
]
|
|
6247
|
+
},
|
|
6045
6248
|
"useRegexpExec": {
|
|
6046
6249
|
"description": "Enforce RegExp#exec over String#match if no global flag is provided.\nSee https://biomejs.dev/linter/rules/use-regexp-exec",
|
|
6047
6250
|
"anyOf": [
|
|
@@ -6321,7 +6524,7 @@
|
|
|
6321
6524
|
"anyOf": [{ "$ref": "#/$defs/LineWidth" }, { "type": "null" }]
|
|
6322
6525
|
},
|
|
6323
6526
|
"trailingNewline": {
|
|
6324
|
-
"description": "Whether to add a trailing newline at the end of the file.\n\nSetting this option to `false` is **highly discouraged** because it could cause many problems with other tools:\n-
|
|
6527
|
+
"description": "Whether to add a trailing newline at the end of the file.\n\nSetting this option to `false` is **highly discouraged** because it could cause many problems with other tools:\n- https://thoughtbot.com/blog/no-newline-at-end-of-file\n- https://callmeryan.medium.com/no-newline-at-end-of-file-navigating-gits-warning-for-android-developers-af14e73dd804\n- https://unix.stackexchange.com/questions/345548/how-to-cat-files-together-adding-missing-newlines-at-end-of-some-files\n\nDisable the option at your own risk.\n\nDefaults to true.",
|
|
6325
6528
|
"anyOf": [{ "$ref": "#/$defs/TrailingNewline" }, { "type": "null" }]
|
|
6326
6529
|
}
|
|
6327
6530
|
},
|
|
@@ -6690,6 +6893,11 @@
|
|
|
6690
6893
|
"type": "string",
|
|
6691
6894
|
"const": "turborepo"
|
|
6692
6895
|
},
|
|
6896
|
+
{
|
|
6897
|
+
"description": "Playwright testing framework rules",
|
|
6898
|
+
"type": "string",
|
|
6899
|
+
"const": "playwright"
|
|
6900
|
+
},
|
|
6693
6901
|
{
|
|
6694
6902
|
"description": "Rules that require type inference",
|
|
6695
6903
|
"type": "string",
|
|
@@ -7002,6 +7210,15 @@
|
|
|
7002
7210
|
"additionalProperties": false,
|
|
7003
7211
|
"required": ["level"]
|
|
7004
7212
|
},
|
|
7213
|
+
"RuleWithNoConditionalExpectOptions": {
|
|
7214
|
+
"type": "object",
|
|
7215
|
+
"properties": {
|
|
7216
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
7217
|
+
"options": { "$ref": "#/$defs/NoConditionalExpectOptions" }
|
|
7218
|
+
},
|
|
7219
|
+
"additionalProperties": false,
|
|
7220
|
+
"required": ["level"]
|
|
7221
|
+
},
|
|
7005
7222
|
"RuleWithNoConfusingLabelsOptions": {
|
|
7006
7223
|
"type": "object",
|
|
7007
7224
|
"properties": {
|
|
@@ -8293,6 +8510,100 @@
|
|
|
8293
8510
|
"additionalProperties": false,
|
|
8294
8511
|
"required": ["level"]
|
|
8295
8512
|
},
|
|
8513
|
+
"RuleWithNoPlaywrightElementHandleOptions": {
|
|
8514
|
+
"type": "object",
|
|
8515
|
+
"properties": {
|
|
8516
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
8517
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8518
|
+
"options": { "$ref": "#/$defs/NoPlaywrightElementHandleOptions" }
|
|
8519
|
+
},
|
|
8520
|
+
"additionalProperties": false,
|
|
8521
|
+
"required": ["level"]
|
|
8522
|
+
},
|
|
8523
|
+
"RuleWithNoPlaywrightEvalOptions": {
|
|
8524
|
+
"type": "object",
|
|
8525
|
+
"properties": {
|
|
8526
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8527
|
+
"options": { "$ref": "#/$defs/NoPlaywrightEvalOptions" }
|
|
8528
|
+
},
|
|
8529
|
+
"additionalProperties": false,
|
|
8530
|
+
"required": ["level"]
|
|
8531
|
+
},
|
|
8532
|
+
"RuleWithNoPlaywrightForceOptionOptions": {
|
|
8533
|
+
"type": "object",
|
|
8534
|
+
"properties": {
|
|
8535
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8536
|
+
"options": { "$ref": "#/$defs/NoPlaywrightForceOptionOptions" }
|
|
8537
|
+
},
|
|
8538
|
+
"additionalProperties": false,
|
|
8539
|
+
"required": ["level"]
|
|
8540
|
+
},
|
|
8541
|
+
"RuleWithNoPlaywrightMissingAwaitOptions": {
|
|
8542
|
+
"type": "object",
|
|
8543
|
+
"properties": {
|
|
8544
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
8545
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8546
|
+
"options": { "$ref": "#/$defs/NoPlaywrightMissingAwaitOptions" }
|
|
8547
|
+
},
|
|
8548
|
+
"additionalProperties": false,
|
|
8549
|
+
"required": ["level"]
|
|
8550
|
+
},
|
|
8551
|
+
"RuleWithNoPlaywrightNetworkidleOptions": {
|
|
8552
|
+
"type": "object",
|
|
8553
|
+
"properties": {
|
|
8554
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8555
|
+
"options": { "$ref": "#/$defs/NoPlaywrightNetworkidleOptions" }
|
|
8556
|
+
},
|
|
8557
|
+
"additionalProperties": false,
|
|
8558
|
+
"required": ["level"]
|
|
8559
|
+
},
|
|
8560
|
+
"RuleWithNoPlaywrightPagePauseOptions": {
|
|
8561
|
+
"type": "object",
|
|
8562
|
+
"properties": {
|
|
8563
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8564
|
+
"options": { "$ref": "#/$defs/NoPlaywrightPagePauseOptions" }
|
|
8565
|
+
},
|
|
8566
|
+
"additionalProperties": false,
|
|
8567
|
+
"required": ["level"]
|
|
8568
|
+
},
|
|
8569
|
+
"RuleWithNoPlaywrightUselessAwaitOptions": {
|
|
8570
|
+
"type": "object",
|
|
8571
|
+
"properties": {
|
|
8572
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
8573
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8574
|
+
"options": { "$ref": "#/$defs/NoPlaywrightUselessAwaitOptions" }
|
|
8575
|
+
},
|
|
8576
|
+
"additionalProperties": false,
|
|
8577
|
+
"required": ["level"]
|
|
8578
|
+
},
|
|
8579
|
+
"RuleWithNoPlaywrightWaitForNavigationOptions": {
|
|
8580
|
+
"type": "object",
|
|
8581
|
+
"properties": {
|
|
8582
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8583
|
+
"options": { "$ref": "#/$defs/NoPlaywrightWaitForNavigationOptions" }
|
|
8584
|
+
},
|
|
8585
|
+
"additionalProperties": false,
|
|
8586
|
+
"required": ["level"]
|
|
8587
|
+
},
|
|
8588
|
+
"RuleWithNoPlaywrightWaitForSelectorOptions": {
|
|
8589
|
+
"type": "object",
|
|
8590
|
+
"properties": {
|
|
8591
|
+
"fix": { "anyOf": [{ "$ref": "#/$defs/FixKind" }, { "type": "null" }] },
|
|
8592
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8593
|
+
"options": { "$ref": "#/$defs/NoPlaywrightWaitForSelectorOptions" }
|
|
8594
|
+
},
|
|
8595
|
+
"additionalProperties": false,
|
|
8596
|
+
"required": ["level"]
|
|
8597
|
+
},
|
|
8598
|
+
"RuleWithNoPlaywrightWaitForTimeoutOptions": {
|
|
8599
|
+
"type": "object",
|
|
8600
|
+
"properties": {
|
|
8601
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
8602
|
+
"options": { "$ref": "#/$defs/NoPlaywrightWaitForTimeoutOptions" }
|
|
8603
|
+
},
|
|
8604
|
+
"additionalProperties": false,
|
|
8605
|
+
"required": ["level"]
|
|
8606
|
+
},
|
|
8296
8607
|
"RuleWithNoPositiveTabindexOptions": {
|
|
8297
8608
|
"type": "object",
|
|
8298
8609
|
"properties": {
|
|
@@ -9799,6 +10110,15 @@
|
|
|
9799
10110
|
"additionalProperties": false,
|
|
9800
10111
|
"required": ["level"]
|
|
9801
10112
|
},
|
|
10113
|
+
"RuleWithUseExpectOptions": {
|
|
10114
|
+
"type": "object",
|
|
10115
|
+
"properties": {
|
|
10116
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10117
|
+
"options": { "$ref": "#/$defs/UseExpectOptions" }
|
|
10118
|
+
},
|
|
10119
|
+
"additionalProperties": false,
|
|
10120
|
+
"required": ["level"]
|
|
10121
|
+
},
|
|
9802
10122
|
"RuleWithUseExplicitLengthCheckOptions": {
|
|
9803
10123
|
"type": "object",
|
|
9804
10124
|
"properties": {
|
|
@@ -10310,6 +10630,17 @@
|
|
|
10310
10630
|
"additionalProperties": false,
|
|
10311
10631
|
"required": ["level"]
|
|
10312
10632
|
},
|
|
10633
|
+
"RuleWithUsePlaywrightValidDescribeCallbackOptions": {
|
|
10634
|
+
"type": "object",
|
|
10635
|
+
"properties": {
|
|
10636
|
+
"level": { "$ref": "#/$defs/RulePlainConfiguration" },
|
|
10637
|
+
"options": {
|
|
10638
|
+
"$ref": "#/$defs/UsePlaywrightValidDescribeCallbackOptions"
|
|
10639
|
+
}
|
|
10640
|
+
},
|
|
10641
|
+
"additionalProperties": false,
|
|
10642
|
+
"required": ["level"]
|
|
10643
|
+
},
|
|
10313
10644
|
"RuleWithUseQwikClasslistOptions": {
|
|
10314
10645
|
"type": "object",
|
|
10315
10646
|
"properties": {
|
|
@@ -12926,6 +13257,13 @@
|
|
|
12926
13257
|
"type": "object",
|
|
12927
13258
|
"additionalProperties": false
|
|
12928
13259
|
},
|
|
13260
|
+
"UseExpectConfiguration": {
|
|
13261
|
+
"oneOf": [
|
|
13262
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13263
|
+
{ "$ref": "#/$defs/RuleWithUseExpectOptions" }
|
|
13264
|
+
]
|
|
13265
|
+
},
|
|
13266
|
+
"UseExpectOptions": { "type": "object", "additionalProperties": false },
|
|
12929
13267
|
"UseExplicitLengthCheckConfiguration": {
|
|
12930
13268
|
"oneOf": [
|
|
12931
13269
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
@@ -13527,6 +13865,16 @@
|
|
|
13527
13865
|
"type": "object",
|
|
13528
13866
|
"additionalProperties": false
|
|
13529
13867
|
},
|
|
13868
|
+
"UsePlaywrightValidDescribeCallbackConfiguration": {
|
|
13869
|
+
"oneOf": [
|
|
13870
|
+
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
|
13871
|
+
{ "$ref": "#/$defs/RuleWithUsePlaywrightValidDescribeCallbackOptions" }
|
|
13872
|
+
]
|
|
13873
|
+
},
|
|
13874
|
+
"UsePlaywrightValidDescribeCallbackOptions": {
|
|
13875
|
+
"type": "object",
|
|
13876
|
+
"additionalProperties": false
|
|
13877
|
+
},
|
|
13530
13878
|
"UseQwikClasslistConfiguration": {
|
|
13531
13879
|
"oneOf": [
|
|
13532
13880
|
{ "$ref": "#/$defs/RulePlainConfiguration" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biomejs/biome",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"bin": {
|
|
5
5
|
"biome": "bin/biome"
|
|
6
6
|
},
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"provenance": true
|
|
47
47
|
},
|
|
48
48
|
"optionalDependencies": {
|
|
49
|
-
"@biomejs/cli-win32-x64": "2.4.
|
|
50
|
-
"@biomejs/cli-win32-arm64": "2.4.
|
|
51
|
-
"@biomejs/cli-darwin-x64": "2.4.
|
|
52
|
-
"@biomejs/cli-darwin-arm64": "2.4.
|
|
53
|
-
"@biomejs/cli-linux-x64": "2.4.
|
|
54
|
-
"@biomejs/cli-linux-arm64": "2.4.
|
|
55
|
-
"@biomejs/cli-linux-x64-musl": "2.4.
|
|
56
|
-
"@biomejs/cli-linux-arm64-musl": "2.4.
|
|
49
|
+
"@biomejs/cli-win32-x64": "2.4.2",
|
|
50
|
+
"@biomejs/cli-win32-arm64": "2.4.2",
|
|
51
|
+
"@biomejs/cli-darwin-x64": "2.4.2",
|
|
52
|
+
"@biomejs/cli-darwin-arm64": "2.4.2",
|
|
53
|
+
"@biomejs/cli-linux-x64": "2.4.2",
|
|
54
|
+
"@biomejs/cli-linux-arm64": "2.4.2",
|
|
55
|
+
"@biomejs/cli-linux-x64-musl": "2.4.2",
|
|
56
|
+
"@biomejs/cli-linux-arm64-musl": "2.4.2"
|
|
57
57
|
}
|
|
58
58
|
}
|