UNPKG

1.11 kB Plain Text View Raw
1# EditorConfig is awesome: http://EditorConfig.org
2
3# top-most EditorConfig file
4root = true
5
6# Unix-style newlines with a newline ending every file
7[*]
8charset = utf-8
9continuation_indent_size = 4
10curly_bracket_next_line = false
11end_of_line = lf
12indent_brace_style = Stroustrup
13indent_size = 2
14indent_style = space
15insert_final_newline = true
16spaces_around_brackets = outside
17spaces_around_operators = true
18trim_trailing_whitespace = true
19
20# Python
21[*.{py,robot}]
22indent_style = space
23indent_size = 4
24
25# Javascript
26[*.{js,jsx,ts,tsx}]
27indent_style = space
28indent_size = 2
29max_line_length = 120
30quote_type = single
31
32[*.json]
33indent_style = space
34indent_size = 2
35
36[*.yml]
37indent_style = space
38indent_size = 2
39
40# CSS
41[*.{css,scss,less}]
42indent_style = space
43indent_size = 2
44max_line_length = 120
45quote_type = single
46
47# Tab indentation (no size specified)
48[Makefile]
49indent_style = tab
50
51# Windows files
52[{*.bat,*reg,*.ps1,*.vbs,*.cs,*.fs,*.ahk}]
53end_of_line = crlf
54
55# Markdown
56[*.{md,mdwn,mdown,markdown,apib}]
57indent_size = 4
58indent_style = space
59insert_final_newline = true
60trim_trailing_whitespace = false