forked from Effektiva/analysering-av-ljudanalys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
46 lines (40 loc) · 1.22 KB
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# EditorConfig is used to get code that looks the same throughout the
# project.
#
# How to use:
# VS Code: Install extension "EditorConfig for VS Code"
# Emacs: Follow instructions on https://github.com/editorconfig/editorconfig-emacs
# Doom Emacs: See https://docs.doomemacs.org/latest/modules/tools/editorconfig/
#
#
# Docs: https://spec.editorconfig.org/
#
# Inspirations:
# https://raw.githubusercontent.com/django/django/main/.editorconfig
# https://raw.githubusercontent.com/angular/angular.js/master/.editorconfig
# https://raw.githubusercontent.com/babel/babel/master/.editorconfig
# top-most editorconfig file
root = true
# Global settings
[*]
# https://utf8everywhere.org/
charset = utf-8
# Unix-style newlines with a newline ending every file
end_of_line = lf
insert_final_newline = true
# self-explanatory (used widely)
trim_trailing_whitespace = true
# VSCode doesn't like varied tab sizes when using spaces
indent_style = space
indent_size = 4
# Minified JavaScript files shouldn't be changed
[**.min.js]
indent_style = ignore
insert_final_newline = ignore
# Trailing spaces in Markdown have special meaning (forces newlines)
[*.md]
trim_trailing_whitespace = false
[docker-compose.yml]
indent_size = 2
[*.tsx]
indent_size = 2