Closed LJNeon closed 1 month ago
hi, thanks for the issue! however, formatting-rules have been deprecated in eslint (https://eslint.org/blog/2023/10/deprecating-formatting-rules/). We might want to follow the same strategy here.
In the case of eslint they were deprecated and moved to their own package. But there's no @stylistic/json package for the same to happen here.
Rule details
Should function similarly to the indent rule for JavaScript.
What type of rule is this?
Suggests an alternate way of doing something
Example code
There are many different standard indentations:
and so on.
Participation
Additional comments
Could easily follow the standard set by
JSON.stringify()
sspace
option. If that doesn't seem like a good idea, then could follow the standard set by eslint'sindent
rule.