mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
4e52f0e420
* chore: centralize editorconfig * chore: tweak tsconfigs for local development * revert src path change * fix: akismet type checking requires flag ext `@types` * fix: make tags route optional to avoid typescript typing error
23 lines
398 B
INI
23 lines
398 B
INI
# EditorConfig helps developers define and maintain consistent
|
|
# coding styles between different editors and IDEs
|
|
# editorconfig.org
|
|
|
|
root = true
|
|
|
|
[*]
|
|
end_of_line = lf
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.{diff,md}]
|
|
trim_trailing_whitespace = false
|
|
|
|
[*.{php,xml,json}]
|
|
indent_size = 4
|
|
|
|
[tsconfig.json]
|
|
indent_size = 2
|