Reorganize the repo to better match other SDKs (#209)
Also adds an .editorconfig for some consistent settings.
This commit is contained in:
Родитель
abbc8a38ef
Коммит
94fde5d4ee
|
@ -0,0 +1,14 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
file_header_template = Copyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the MIT License.
|
||||
insert_final_newline = true
|
||||
indent_size = 4
|
||||
indent_style = space
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.toml]
|
||||
indent_size = 2
|
||||
|
||||
[*.{yaml,yml}]
|
||||
indent_size = 2
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
- name: fmt
|
||||
run: |
|
||||
cargo fmt --all -- --check
|
||||
./scripts/check_json_format.sh
|
||||
./eng/scripts/check_json_format.sh
|
||||
cargo fmt --manifest-path services/Cargo.toml --all -- --check
|
||||
if: matrix.rust == 'stable'
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"recommendations": [
|
||||
"matklad.rust-analyzer",
|
||||
"bungcip.better-toml"
|
||||
"bungcip.better-toml",
|
||||
"editorconfig.editorconfig",
|
||||
"matklad.rust-analyzer"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче