Add editorconfig file and check in pipeline
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
f91319636a
commit
162c6aeb2d
|
@ -3,6 +3,8 @@ kind: pipeline
|
|||
name: default
|
||||
|
||||
steps:
|
||||
- name: Check editorconfig compliance
|
||||
image: mstruebing/editorconfig-checker
|
||||
- name: test
|
||||
image: rust:1.60
|
||||
commands:
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
# EditorConfig helps developers define and maintain consistent
|
||||
# coding styles between different editors and IDEs
|
||||
# editorconfig.org
|
||||
|
||||
root = true
|
||||
|
||||
[*.rs]
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
indent_style = space
|
||||
indent_size = 4
|
Loading…
Reference in New Issue