add .editorconfig for better coding (#14)

* feat: add config to resolve path alias.

* feat: add .editorconfig for ide

* fix: add no-referrer to avoid CROB

* fix: setCookie and fix typo
This commit is contained in:
Hawtim Zhang 2020-10-19 13:57:25 +08:00 committed by GitHub
parent a2e901802c
commit c39bea4a4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 1 deletions

8
.editorconfig Normal file
View file

@ -0,0 +1,8 @@
root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false