forked from GSConnect/gnome-shell-extension-gsconnect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
36 lines (29 loc) · 785 Bytes
/
.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
# SPDX-FileCopyrightText: GSConnect Developers https://github.com/GSConnect
#
# SPDX-License-Identifier: GPL-2.0-or-later
# Topmost editorconfig for project, don't ascend
# to parent directories when scanning configs
root = true
# All files: UTF-8 with Unix-style newlines,
# and a newline at the end of the file
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
# JavaScript, Python, CSS: 4-space indents
[*.{js,py,css}]
indent_style = space
indent_size = 4
# XML, Meson, Glade: 2-space indents
[*.{xml,build,ui}]
indent_style = space
indent_size = 2
# Most JSON: 2-space indents
[*.json]
indent_style = space
indent_size = 2
# WebExtension templates: 4-space indents
[data/webextension/*.in]
indent_style = space
indent_size = 4