diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 6c2dae0..d510944 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -1,34 +1,34 @@ version: 0.1 cli: - version: 1.22.0 + version: 1.22.3 plugins: sources: - id: trunk - ref: v1.2.1 + ref: v1.6.2 uri: https://github.com/trunk-io/plugins lint: enabled: - - clippy@1.65.0 + - clippy@1.79.0 - gofmt@1.20.4 - - golangci-lint@1.57.2 - - oxipng@9.1.1 + - golangci-lint@1.60.2 + - oxipng@9.1.2 - shellcheck@0.10.0 - - taplo@0.8.1 - - actionlint@1.6.27 + - taplo@0.9.3 + - actionlint@1.7.1 - hadolint@2.12.0 - - eslint@8.57.0 - - buildifier@7.1.1 + - eslint@9.9.0 + - buildifier@7.1.2 - git-diff-check - - markdownlint@0.40.0 - - prettier@3.2.5 + - markdownlint@0.41.0 + - prettier@3.3.3 - shfmt@3.6.0 - - svgo@3.2.0 - - gitleaks@8.18.2 - - flake8@7.0.0 + - svgo@3.3.2 + - gitleaks@8.18.4 + - flake8@7.1.1 - isort@5.13.2 - - black@24.4.2 - - rustfmt@1.65.0 + - black@24.8.0 + - rustfmt@1.79.0 # - shellcheck@0.9.0 - removed for being over-prissy and wanting tab indents - rrw 2023-04-25 ignore: - linters: [gitleaks] @@ -60,9 +60,9 @@ lint: runtimes: enabled: - - go@1.18.3 - - node@16.14.2 - - python@3.10.3 + - go@1.21.0 + - node@18.12.1 + - python@3.10.8 actions: enabled: - trunk-announce diff --git a/bridge-validators/rust-toolchain.toml b/bridge-validators/rust-toolchain.toml new file mode 100644 index 0000000..37e92ba --- /dev/null +++ b/bridge-validators/rust-toolchain.toml @@ -0,0 +1,4 @@ +[toolchain] +channel = "1.79.0" +components = ["rustfmt", "clippy"] +profile = "minimal" diff --git a/bridge-validators/rustfmt.toml b/bridge-validators/rustfmt.toml new file mode 100644 index 0000000..a034783 --- /dev/null +++ b/bridge-validators/rustfmt.toml @@ -0,0 +1,3 @@ +edition = "2021" +imports_granularity = "Crate" +group_imports = "StdExternalCrate"