-
Notifications
You must be signed in to change notification settings - Fork 35
/
.editorconfig
60 lines (52 loc) · 1.42 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#
# EditorConfig is awesome: http://EditorConfig.org
#
# For more details how to use it please read comments
# at the end of this file.
#
# top-most EditorConfig file
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
[*.{es,js,json,jsm,jsx,ts,tsx,yml}]
indent_style = space
indent_size = 2
[*.py]
indent_style = space
indent_size = 4
[*.{html,handlebars,hbs}]
indent_style = space
indent_size = 4
[*.{css,scss}]
indent_style = space
indent_size = 4
[Jenkinsfile*]
indent_style = space
indent_size = 4
# Editor config at CLIQZ
#
# To enforce common code formatting we are adopting this .editorconfig
# that will help us to write code in consistent style.
#
# Main goals is to fix:
# * indentation style
# * indentation size
# * final new lines
#
# Plugins for common editors:
# * sublime text: https://github.com/sindresorhus/editorconfig-sublime
# * vim: https://github.com/editorconfig/editorconfig-vim
#
# If your editor does not support .editorconfig please consider this
# file as a specification for your editor settings.
#
# IMPORTANT: commits with files that does not follow common formating
# style will not get merged.
#
# IMPORTANT: if you're going to edit a file that does not follow the
# guides, please first fix the formatting in separate commit before
# you will start to apply your changes. We want to be sure that changes
# in formatting will not introduce any bugs.