Migrate Get Requests invocations(libraries)
[integration/test.git] / .editorconfig
1 # Text editor configuration file
2 #
3 # Note: Find the link to the style-guide followed, before each section
4
5 root = true
6
7 # General rules
8 # -------------
9 # - Unicode
10 # - Unix-style line endings
11 # - Newline before EOF
12 # - No sloppy trailing spaces
13 # - Use 4 indent spaces if there's no clear external normal style
14
15 [*]
16 end_of_line = lf
17 insert_final_newline = true
18 trim_trailing_whitespace = true
19 indent_style = space
20
21 # https://wiki.opendaylight.org/view/Integration/Test/Test_Code_Guidelines
22 [*.robot]
23 indent_size = 4
24
25 # https://github.com/bbatsov/ruby-style-guide#source-code-layout
26 [*.rb]
27 charset = utf-8
28 indent_size = 2
29 max_line_length = 80
30
31 # https://google.github.io/styleguide/shell.xml
32 # Preferred 4 spaces over 2 in styleguide since 4 highlights the indent better
33 # as agreed by the community on Gerrit
34 [*.sh]
35 indent_size = 4
36 max_line_length = 80
37
38 # https://www.python.org/dev/peps/pep-0008/
39 [*.py]
40 charset = utf-8
41 indent_size = 4
42 max_line_length = 79
43
44 # http://documentation-style-guide-sphinx.readthedocs.io/en/latest/style-guide.html
45 [*.rst]
46 indent_size = 2
47 max_line_length = 79
48 trim_trailing_whitespace = false
49
50 # Nothing specified for json files, so going with 4 indent_size as per Coala
51 # json - https://google.github.io/styleguide/jsoncstyleguide.xml
52 [*.json]
53 indent_size = 4
54
55 # http://xmlsoft.org/xmllint.html
56 # Preffered 4 over 2 in styleguide
57 [*.xml]
58 indent_size = 4
59
60 # http://yamllint.readthedocs.io/en/latest/
61 [*.{yaml,yml}]
62 indent_size = 4
63
64 # Trailing spaces in markdown is used to differentiate line breaks and paragraphs
65 [*.{md,markdown}]
66 indent_size = 4
67 trim_trailing_whitespace = false
68 insert_final_newline = false
69
70 # No style-guide, so fix 4
71 [Vagrantfile]
72 indent_size = 4
73
74 [Dockerfile]
75 indent_size = 4
76
77 # Keep same as for ruby
78 [Gemfile]
79 indent_size = 2
80
81 # https://docs.puppet.com/guides/style_guide.html
82 [*.pp]
83 indent_size = 2
84 max_line_length = 140
85
86 # Keep same as for ruby
87 [*.erb]
88 indent_size = 2