aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2022-11-08 22:48:33 +0100
committerGitHub <noreply@github.com>2022-11-08 22:48:33 +0100
commit90b2153a6d2620f55c22c09e9a624f81e50cca44 (patch)
tree0ab08b0d85db3a57b2f7584df75de2d31a5dc42f
parent1ae49de2b49a0be84b4a842e5a6a2938bcf1889c (diff)
downloadFlightCore-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--.editorconfig11
-rw-r--r--README.md4
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
diff --git a/README.md b/README.md
index 22c0b286..5ae3b1b9 100644
--- a/README.md
+++ b/README.md
@@ -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