Skip to content

Commit ae434c5

Browse files
mwlnmwln
authored andcommitted
chore: add dependabot config and editorconfig
Add .github/dependabot.yml to keep GitHub Actions and Cargo dependencies current via weekly update PRs (the proactive half of dependency hygiene alongside the security-audit workflow). Add .editorconfig for repo-wide whitespace consistency (LF, final newline, trimmed trailing whitespace, UTF-8) and 2-space YAML/TOML/ Markdown. Rust formatting is left to rustfmt, so there's no .rs rule.
1 parent 47dcb03 commit ae434c5

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Rust formatting is owned by rustfmt; this only covers repo-wide whitespace
2+
# rules and the non-Rust files rustfmt doesn't touch.
3+
root = true
4+
5+
[*]
6+
end_of_line = lf
7+
insert_final_newline = true
8+
trim_trailing_whitespace = true
9+
charset = utf-8
10+
11+
[*.{yml,yaml,toml,md}]
12+
indent_style = space
13+
indent_size = 2

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: "/"
5+
schedule:
6+
interval: weekly
7+
- package-ecosystem: cargo
8+
directory: "/"
9+
schedule:
10+
interval: weekly

0 commit comments

Comments
 (0)