apache / couchdb-fauxton

Fauxton is the new Web UI for CouchDB
https://github.com/apache/couchdb-fauxton
Apache License 2.0
383 stars 224 forks source link

Fix: space indent in Mango Query editor doesn't match the indent guides #1388

Closed Antonio-Maranhao closed 1 year ago

Antonio-Maranhao commented 1 year ago

Overview

The Mango query editor was using a 3-space indent, which doesn't match the indent guides drawn in the editor (2 spaces). This PR updates the formatter so both use 2-space ident.

Before

2nd_level {

After

Mango Query ®

Testing recommendations

Run Fauxton and verify the indent guide line up with the formatted text.

GitHub issue number

https://github.com/apache/couchdb-fauxton/issues/1313

Related Pull Requests

n/a

Checklist