nelsontky / gh-pages-url-shortener

Minimal URL shortener that can be entirely hosted on GitHub pages.
https://ccb.wtf/1
GNU General Public License v3.0
1.34k stars 506 forks source link

Add editorconfig #53

Closed vladimyr closed 4 years ago

vladimyr commented 4 years ago

Ensure consistent code formatting by using .editorconfig.

nelsontky commented 4 years ago

Personally, I use prettier when doing development. While I agree that an automated and standardized sort of linter is important for larger projects, this is a small project with < 100 lines of code. I will be able to review each PR and do the formatting changes on my end before merging. Additionally, I used babel in the initial versions of this script. There were some comments that since I bill the URL shortener as minimal, why is there a need for node to be a dependency. Thus, I removed all dependence on node as it is really unnecessary for a project that is so small. That being said, you could create your own fork of this (you can get a domain for free over at https://www.freenom.com/), and I will be glad to list it in the README file!