lucia-auth / lucia

Authentication, simple and clean
https://lucia-auth.com
MIT License
8.61k stars 448 forks source link

chore: add .editorconfig #1408

Closed DmitryScaletta closed 5 months ago

DmitryScaletta commented 5 months ago

Currently it's very hard to read the code on github with tab size 8 spaces by default. .editorconfig solves this problem.

pilcrowOnPaper commented 5 months ago

Do you know if this actually works? I tried .editorconfig in a different repo a while back, and it didn't seem to have any affect

DmitryScaletta commented 5 months ago

Yes, it actually works. Here is the same file with and without .editorconfig: https://github.com/DmitryScaletta/lucia/blob/editorconfig/packages/lucia/src/index.ts https://github.com/lucia-auth/lucia/blob/main/packages/lucia/src/index.ts

pilcrowOnPaper commented 5 months ago

Thanks!