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,就挺垃圾的

相关推荐
凤山老林6 分钟前
聊聊企业级 API 安全:Spring Boot 落地 OAuth 2.1、mTLS 与接口签名防篡改
spring boot·后端·安全·oauth
林鹿1 小时前
maven属性与groovy变量对照表
后端
烽火戏诸诸诸侯1 小时前
AI 让我的独门小工具焕发第二春
后端·ai编程·vibecoding
狼爷2 小时前
硅谷爆火的FDE是AI新风口,还是高级外包?
后端·全栈
xinjia_ctrl3 小时前
暑假实习总结
git·后端·spring·maven·intellij-idea
IT_陈寒4 小时前
Java Stream处理大集合,我的内存怎么就炸了
前端·人工智能·后端
悟空码字5 小时前
四轮对话两张配图:用 WorkBuddy 优化公众号发文配图的实战指南
人工智能·后端·腾讯
ServBay5 小时前
xAI的 Grok Bot发布,AI 已经学会自己上班了
后端·ai编程·grok
分支预测失败5 小时前
RISC-V 多核缓存一致性机制解析:MESI 协议族、CMO 扩展与 Linux 同步原语
后端
n8n5 小时前
Spring AI 检索增强生成(RAG)实战:让模型掌握你的私有知识
后端