Akuli / jou

Yet another programming language
MIT License
11 stars 4 forks source link

.editorconfig #356

Closed littlewhitecloud closed 1 year ago

littlewhitecloud commented 1 year ago

Improve #355

Akuli commented 1 year ago

Maybe also add to github actions some tool that checks whether files follow the editorconfig? It could go to .github/workflows/linux.yml. Searching "editorconfig validator" gives me https://github.com/editorconfig-checker/editorconfig-checker which seems useful.

littlewhitecloud commented 1 year ago

I agree that.But I am not good at adding GitHub actions(lol)

Akuli commented 1 year ago

We could copy/paste the example in https://github.com/editorconfig-checker/action-editorconfig-checker

We could add it to linux.yml.

littlewhitecloud commented 1 year ago

Oh no, too many errors I think we should add something like autofix

littlewhitecloud commented 1 year ago

image That's really strange. typecheck.jou only has 1147 lines, but it say 1176 line has trailing whitespace

Akuli commented 1 year ago

The line numbers seem to be off for whatever reason, but I searched for spaces at ends of the lines and fixed the remaining ones.

littlewhitecloud commented 1 year ago

Finally…