jbampton opened a new issue, #11277: URL: https://github.com/apache/cloudstack/issues/11277
I was attempting to add the official pre-commit hook `check-json` https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#check-json And when testing the hook locally it showed two JSON files that had duplicate keys. Should we standardize all our JSON files and enable checking or continue with the current inconsistent approach ? <img width="1636" height="515" alt="Image" src="https://github.com/user-attachments/assets/ec267936-a4c4-49f6-bae9-511903a121fa" /> So it just shows two but there are many in the "GR" file <img width="1267" height="324" alt="Image" src="https://github.com/user-attachments/assets/100f6e3c-c7f4-4d39-bd7f-fcf9bd83e961" /> <img width="1296" height="507" alt="Image" src="https://github.com/user-attachments/assets/dca213d0-6f9f-412c-a9fe-e7958616b592" /> There is a discussion below about this: https://stackoverflow.com/questions/21832701/does-json-syntax-allow-duplicate-keys-in-an-object -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org