diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..28bde6a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true + +[*.{nix,toml,json}] +indent_style = space +indent_size = 2 + +[*.rs] +indent_style = space +indent_size = 4 diff --git a/.renovaterc.json b/.renovaterc.json new file mode 100644 index 0000000..bdcce88 --- /dev/null +++ b/.renovaterc.json @@ -0,0 +1,34 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "assignees": [ + "jalil" + ], + "automerge": true, + "automergeStrategy": "fast-forward", + "automergeType": "pr", + "commitBodyTable": true, + "dependencyDashboard": true, + "extends": [ + "config:recommended" + ], + "prCreation": "immediate", + "cargo": { + "commitMessageTopic": "Rust crate {{depName}}", + "fileMatch": [ + "(^|/)Cargo\\.toml$" + ], + "versioning": "cargo", + "enabled": true + }, + "nix": { + "fileMatch": [ + "(^|/)flake\\.nix$" + ], + "commitMessageTopic": "flake inputs", + "commitMessageExtra": "to {{newValue}}", + "enabled": true + }, + "automergeSchedule": [ + "* 0-1 * * *" + ] +} diff --git a/renovate.json b/renovate.json deleted file mode 100644 index 7190a60..0000000 --- a/renovate.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json" -}