Use python3 npm_replacement.py
to do that.
Contributions are highly welcomed!
Bug reports, pull requests are welcomed and invited.
For bigger changes I strongly encourage to create an issue first to review the idea.
Issues with scathing criticism of code quality are also welcomed, as long as you are specific and clear what is wrong and how it can be improved.
Note that by contributing code you are licensing it to license used by this repository (AGPL).
sudo npm install -g prettier
????
TODO: find JS linter
npx prettier --print-width 200 --write .
Sadly, it is necessary to treat it as suggestions.
I failed to find for now to:
- allow multiline array definition, with one element per line
- avoid pointless splitting if statements into multiple lines just because limit of 80 characters was reached