Skip to content

Commit 90b2153

Browse files
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
1 parent 1ae49de commit 90b2153

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.editorconfig

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# For more info on `.editorconfig` file see https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*.{rs,ts,vue,css}]
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
indent_style = space
11+
indent_size = 4

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ else {
9696

9797
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`.
9898

99+
### Other
100+
101+
This repo uses [EditorConfig](https://editorconfig.org/) to define some basic formatting rules. Find a plugin for your IDE [here](https://editorconfig.org/#download).
102+
99103
## Why yet another Northstar intaller/updater/mod-manager instead of contributing to an existing one?
100104

101105
The 3 main GUI tools for handling such tasks with Norhtstar are

0 commit comments

Comments
 (0)