A tool to reformat javascript projects on github
npm install @idrinth/automatic-formattingThis is currently not using as many promises as desired, but on the other hand the formatting is pretty quick.
It reacts to three different eventgroups send via webhook:
- push: if the branch is within a pullrequest it'll be checked and if required formatted
- pull_request: changes the flag for formatting purposes
- delete: if a branch is deleted will also delete the checkout of it
npm install @idrinth/automatic-formatting
``There are two relevant configurations. For one there is a configuration for the service, see config.json for example.
There is also a per-project option of configuring prettier and the include/exclude lists by using a .idrinth.automatic-formatting.json file in the root of your project.
Other keys in this file will be ignored.