chore(projects): use eslint flat config & update config

This commit is contained in:
Soybean
2023-12-14 20:59:07 +08:00
parent 3346bcdfad
commit a176dc443e
16 changed files with 890 additions and 1956 deletions

11
.editorconfig Normal file
View File

@ -0,0 +1,11 @@
# Editor configuration, see http://editorconfig.org
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true