vscode 使用 trunk code

最近在搞 yamls lint,感觉使用 trunk code 可能比较方便,但是 trunk init 并没有默认启用 yaml lint

bash 复制代码
 *  正在执行任务: '/root/.cache/trunk/launcher/trunk' init --vscode 

Initializing 100% [==========================================================================================================================================================================================================================================>]  16/16  7.2s 
Formatting Configs 100% [===================================================================================================================================================================================================================================>]  12/12  28.0s 
                                                                                                                                                                                                                                                                             
✔ 12 linters were enabled (.trunk/trunk.yaml)

  actionlint 1.7.7 (7 github-workflow files)
  git-diff-check (173 files)
  gofmt 1.20.4 (40 go files)
  golangci-lint2 2.1.6 (9 go files)
  hadolint 2.12.1-beta (8 docker files) (created .hadolint.yaml)
  markdownlint 0.45.0 (8 markdown files) (created .markdownlint.yaml)
  osv-scanner 2.0.3 (1 lockfile file)
  oxipng 9.1.5 (2 png files)
  prettier 3.5.3 (8 markdown, 87 yaml files)
  shellcheck 0.10.0 (14 shell files) (created .shellcheckrc)
  shfmt 3.6.0 (14 shell files)
  trufflehog 3.89.1 (174 files)

Next Steps

 1. Share Trunk with your team
    Trunk is currently in single-player mode.
    Learn more at https://docs.trunk.io/code-quality/ide-integration/vscode#single-player-mode

 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io

但是无法启用 yamllint

bash 复制代码
root@debian:~/f/kube-combo  debugger ✗                                                                                                                                                                                                                                             12h57m ◒  
▶ trunk check enable yamllint
✖ Trunk Internal Error: Please report this issue at https://slack.trunk.io (reference id: d2271cfddece45ecfcee0c7e29029e52)
(v.v) 
root@debian:~/f/kube-combo  debugger ✗    

但是国内还无法访问这个 slack,就挺垃圾的

相关推荐
陈随易1 小时前
Postman 被曝自动往 Claude Code 和 Codex 装插件
前端·后端·程序员
云-缩影3 小时前
拆解 AI 图像生成应用的后端架构:ECS、OSS 和大模型 API 怎么配合
java·spring boot·后端
考虑考虑4 小时前
Posrgresql恢复.backup文件
数据库·后端·postgresql
无奈何杨4 小时前
风控决策系统决策流,策略模式,权重、顺序、投票、最坏
后端
Patrick_Wilson6 小时前
Go 为什么需要 defer?从函数怎么收尾说起
后端·go·编程语言
苏三说技术6 小时前
DeepSeek Harness入驻B站,评论区被干成了大型插件集市!
后端
橙序员小站6 小时前
我一句话让 AI 把公众号工作台搭完了:部署实测记录
后端
Patrick_Wilson6 小时前
从文本输出理解 Go 方法与接口
后端·go·编程语言
QCoding7 小时前
企业级Agent Evaluation实战:Agent能跑就能上线?AI Agent到底怎么测?
后端·spring
苍何7 小时前
让 WorkBuddy 操控浏览器,干活有点猛啊1
后端