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

相关推荐
少女孤岛鹿9 分钟前
微服务注册中心详解:Eureka vs Nacos,原理与实践 | 一站式掌握服务注册、发现与负载均衡
后端
CodeSaku20 分钟前
是设计模式,我们有救了!!!(四、原型模式)
后端
Ray6628 分钟前
「阅读笔记」零拷贝
后端
二闹32 分钟前
什么?你的 SQL 索引可能白加了!?
后端·mysql·性能优化
lichenyang45333 分钟前
基于Express+Ejs实现带登录认证的多模块增删改查后台管理系统
后端
精品源码屋1 小时前
基于JAVA17的仿向日葵远程控制软件源码+最新自研完整版
后端
叉烧钵钵鸡1 小时前
Java ++i 与 i++ 底层原理
java·开发语言·后端
JuiceFS1 小时前
JuiceFS on Windows: 首个 Beta 版的探索与优化之路
后端·云原生·云计算
JavaGuide1 小时前
美团OC了,给的挺多!很满意!!
后端·面试
excel1 小时前
Nuxt 3 + PWA 通知完整实现指南(Web Push)
前端·后端