plotly/plotly.js

[FEATURE]: Update Biome config for JSON indenting

Closed this issue · 0 comments

Description

Switch to two spaces for the indent width in JSON files and format the test mock JSON files per this change.

Why should this feature be added?

Using two spaces per indent makes it easier to read (as a human) JSON files. While there's no standard for formatting JSON, the convention in JS world for indenting is to use two spaces (see Biome, Prettier).

Notes

  • The Biome default is 2 spaces, so removing the line "indentWidth": 1, from biome.json would be the same as changing the 1 to a 2