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

相关推荐
笃行3506 小时前
向量数据库单独建一套,这笔账划不划算
后端
weixin_431600447 小时前
Agent Workflow 学习向:Code 节点,比模板更强的变量加工
后端·python·学习·ai·
Rain的Java大神之路7 小时前
短信接口被狂刷怎么处理
java·运维·后端·web安全·面试·架构·xss
Lost of 程序猿8 小时前
AOP 实战:面向切面编程从理论到落地
后端·asp.net·aop·面向切片变成
Lost of 程序猿8 小时前
ASP.NET Core 认证授权实战:从 JWT 到 Policy,设计一套企业级 RBAC 权限系统
后端·asp.net
Lost of 程序猿8 小时前
ASP.NET Core 后台任务全景:从 BackgroundService 到 Channel 队列,再到分布式调度
后端·asp.net·.netcore
倾颜9 小时前
NestJS 核心概念梳理:从 Module、Controller 到 Guard、Interceptor
后端·node.js·nestjs
东风破_9 小时前
JWT 1:从一个登录请求开始,理解 React 项目里的 API 层与 Mock
前端·后端
东风破_9 小时前
JWT 3:为什么 Token 要放进 Authorization?Axios 拦截器到底解决了什么?
前端·后端
东风破_9 小时前
JWT 5:路由守卫是什么?把整个 JWT 登录鉴权流程串起来
前端·后端