[Misc] add .editorconfig (#5246)
Some checks are pending
Deploy Beta / deploy (push) Waiting to run
ESLint / Run linters (push) Waiting to run
Tests / Run Pre-test (push) Waiting to run
Tests / Run Tests (push) Blocked by required conditions

* add .editorconfig

* add .js files to editorconfig, fix insert_final_newline

* Remove stray .editorconfig in src/tests
This commit is contained in:
Sirz Benjie 2025-02-03 11:55:44 -06:00 committed by GitHub
parent 3f71f79d7b
commit 45f4bf3f13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

12
.editorconfig Normal file
View file

@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[src/*.{js,ts}]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true