Add basic editorconfig for enforcing style
This commit is contained in:
parent
fb741582ef
commit
fa84aae133
17
.editorconfig
Normal file
17
.editorconfig
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
[*]
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
charset = utf-8
|
||||||
|
|
||||||
|
max_line_length = 79
|
||||||
|
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.yml]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.feature]
|
||||||
|
max_line_length = 9999
|
||||||
|
|
@ -25,6 +25,7 @@ recursive-exclude doc *.asciidoc
|
|||||||
include doc/qutebrowser.1.asciidoc
|
include doc/qutebrowser.1.asciidoc
|
||||||
prune tests
|
prune tests
|
||||||
prune qutebrowser/3rdparty
|
prune qutebrowser/3rdparty
|
||||||
|
exclude .editorconfig
|
||||||
exclude pytest.ini
|
exclude pytest.ini
|
||||||
exclude qutebrowser.rcc
|
exclude qutebrowser.rcc
|
||||||
exclude .coveragerc
|
exclude .coveragerc
|
||||||
|
Loading…
Reference in New Issue
Block a user