premake / premake-core

Premake
https://premake.github.io/
BSD 3-Clause "New" or "Revised" License
3.25k stars 620 forks source link

Some files are not formatted according to .editorconfig #2074

Open hanagasira opened 1 year ago

hanagasira commented 1 year ago

What seems to be the problem? The current premake code has spaces at the end of lines, no line breaks at the end of files, and uses spaces for indentation, Saving the file in a format according to .editorconfig may change the file in places other than where it was intended.

The following is the result of applying the editorconfig linter to the current repository https://github.com/hanagasira/premake-core/actions/runs/4894004252/jobs/8737640862#step:4:1

What did you expect to happen? All files except external code are formatted according to .editorconfig

What have you tried so far? n/a

How can we reproduce this? n/a

What version of Premake are you using? n/a

Anything else we should know? I suggest adding super-linter to ci-workflow.yml after modifying the file to follow .editorconfig

(You can now support Premake on our OpenCollective. Your contributions help us spend more time responding to issues like these!)

nickclark2016 commented 1 year ago

Is this something that can be added as a commit hook?