Add editorconfig file and check in pipeline
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Arnaud (Arhuman) ASSAD 2022-05-06 10:00:46 +02:00
parent f91319636a
commit 162c6aeb2d
2 changed files with 14 additions and 0 deletions

View File

@ -3,6 +3,8 @@ kind: pipeline
name: default
steps:
- name: Check editorconfig compliance
image: mstruebing/editorconfig-checker
- name: test
image: rust:1.60
commands:

12
.editorconfig Normal file
View File

@ -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