Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Enable autoformat code (before commit) #14311
The repository code should run through some code formatter like https://prettier.io/
Why is it needed?
We should also provide the code styles in an Intellij IDEA code style XML scheme.
The code style of a PR should also be checked by Travis on GitHub and invalid styled code should be rejected.
Nothing special, but changing the default branch to 3.x would be a great time to introduce this change, since after reformatting our code we will have merge issues with code from other branches.
I studied the information on this topic. I have found:
We need to take the first step and begin to embody this innovation.
Colleagues, your move!