ElSnoMan / pyleniumio

Bring the best of Selenium and Cypress into a single Python package
https://docs.pylenium.io
MIT License
267 stars 50 forks source link

Sort pylenium.json #296

Open ElSnoMan opened 1 year ago

ElSnoMan commented 1 year ago

Discussed in https://github.com/ElSnoMan/pyleniumio/discussions/280

Originally posted by **mwonderful-idbydna** July 26, 2022 Hi! Nothing big here. I run jsonlint across all JSON files in my work and this changes the order in the pyleniujm.json. If the values are not being sorted form some reason then please do tell! Thanks! -Mybrid
ElSnoMan commented 1 year ago

@mwonderful-idbydna I'm turning this into an Issue so it can get resolved. Not sorting it wasn't anything intentional haha. When I created the JSON it was more in the order of importance -- you'll probably update values in the driver object 90+% of the time for example.

So we can sort it and see how things look, no problem 😄 In the meantime, you can have your pre-commit hooks do the sorting or ignore the file with your linter. Thanks!