diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2022-11-08 22:48:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-08 22:48:33 +0100 |
commit | 90b2153a6d2620f55c22c09e9a624f81e50cca44 (patch) | |
tree | 0ab08b0d85db3a57b2f7584df75de2d31a5dc42f | |
parent | 1ae49de2b49a0be84b4a842e5a6a2938bcf1889c (diff) | |
download | FlightCore-90b2153a6d2620f55c22c09e9a624f81e50cca44.tar.gz FlightCore-90b2153a6d2620f55c22c09e9a624f81e50cca44.zip |
style: Add `.editorconfig` file (#42)
* style: Add `.editorconfig` file
Describes some basic formatting like indentation with spaces,
indentation size, final newlines, etc
* docs: Add explanation for EditorConfig
-rw-r--r-- | .editorconfig | 11 | ||||
-rw-r--r-- | README.md | 4 |
2 files changed, 15 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..76edc28d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +# For more info on `.editorconfig` file see https://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*.{rs,ts,vue,css}] +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = space +indent_size = 4 @@ -96,6 +96,10 @@ else { Release builds are generally done via CI. To build locally, make sure typescript is compiled (`./node_modules/.bin/rollup --config`), then run `npm run tauri build`. +### Other + +This repo uses [EditorConfig](https://editorconfig.org/) to define some basic formatting rules. Find a plugin for your IDE [here](https://editorconfig.org/#download). + ## Why yet another Northstar intaller/updater/mod-manager instead of contributing to an existing one? The 3 main GUI tools for handling such tasks with Norhtstar are |