The json linter has broken wrapping behaviour #38007
Labels
<Bug>
This needs to be fixed
[C++]
Changes (can be) made in C++. Previously named `Code`
Code: Infrastructure / Style / Static Analysis
Code internal infrastructure and style
Code: Tooling
Tooling that is not part of the main game but is part of the repo.
[JSON]
Changes (can be) made in JSON
(S2 - Confirmed)
Bug that's been confirmed to exist
When formatting collections, the linter properly wraps the first item at >120 characters. However, for the subsequent items, it wraps them based on the total length including the indent at >118 characters. The implication of this is that the wrapping changes based on depth and is totally inconsistent.
Steps To Reproduce
Given this rather extreme example formatted with the web linter:
Click to expand
Expected behavior
The linter should consistently wrap every item at >120.
Screenshots
N/A
Versions and configuration
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: