pml-lang / pml-companion

Java source code of the 'PML Companion (PMLC)'
https://www.pml-lang.dev
GNU General Public License v2.0
22 stars 1 forks source link

EditorConfig: PPL Sources Conventions #6

Closed tajmone closed 3 years ago

tajmone commented 3 years ago

This PR enforces on to PPL sources trimming white spaces, as discussed in #5.

  1. Update .editorconfig code style rules for PPL sources: enable `trim_trailing_whitespace.
  2. Amend *.ppl sources to enforce consistent code styles accordingly:
    • Remove trailing whitespace (including from indentation-only lines).
    • Fix some stray indentation levels.
    • Insert final newline.
  3. Set access permissions of all shell scripts to executable.
tajmone commented 3 years ago

PS: Could please change the repository settings to rebase pull requests (instead of merging them) by default?

GitHub defaults to always creating a merge commit, but this pollutes the repository history, and destroys the original commit messages (also, obscures the contributor), which makes it real hard to track the project history when sifting through its commits.