diff --git a/.git-blame-ignore-revs.txt b/.git-blame-ignore-revs.txt new file mode 100644 index 00000000..2fa44c8c --- /dev/null +++ b/.git-blame-ignore-revs.txt @@ -0,0 +1,2 @@ +# format codebase +19e77a38d837ce781ba0ca6ea8e78b67a6e3b5a5 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 64fcbc9f..a44629f8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -123,6 +123,15 @@ added, which produced InvalidScript errors. Check out a compiled list of development resources and tools [here](https://lu-dev.net/). + +Please use [.editorconfig](https://editorconfig.org/#pre-installed) with your preferred IDE. + +And run: +```bash +git config blame.ignoreRevsFile .git-blame-ignore-revs +``` +to ignore the gitblame of mass formatting commits + ## Coding Style This project has gone through multiple iterations of coding style. In the code you'll find a number of different coding styles in use. What follows is the preferred style for this project. @@ -154,7 +163,7 @@ if (x) { } ``` -Instead of +Instead of ```cpp if ( x ) {