跳至正文
跳到正文
Wener Notes

Linter Awesome

约 2 分钟阅读
标签:LinterStatic Analysis资源精选

跨语言通用静态检查引擎、安全/文档检查工具及各语言常见 Linter 索引。

跨语言通用规则与静态分析

    • MIT, Rust
    • 基于 Tree-sitter 的跨语言 AST 搜索、自定义 YAML Lint 规则与自动化重构引擎
    • LGPL-2.1, C
    • 跨语言轻量级静态分析与安全规则引擎(SAST),支持类源码语法编写自定义规则

凭据、拼写、文档与链接检查

多语言聚合运行器与 Git Hooks

按语言常见工具参考

关联信息

反向链接、本文链接的其他页面和外部资料。

反向链接

  • Linter
    笔记 · Linter Awesome

    跨语言、通用静态代码检查、AST 规则匹配、安全扫描与文档/拼写规范索引。代码格式化平台见 Formatter。 · Linter Awesome - 跨语言通用检查引擎、安全/凭据/文本检查工具与各语言常见 Linter 索引 · | 维度 | 关注点 | 典型工具 |

站内链接

  • biome
    笔记 · Biome

    biomejs/biome · MIT, Rust · linter, formatter · roma -> biome · 参考 · 支持的语言 · 不支持格式化 HTML, CSS, Yaml, Markdown, GQL · prettier 支持所有这些

  • eslint
    笔记 · ESLint

    eslint-plugin-import · eslint-plugin-react · eslint-plugin-jsx-a11y · react/react-in-jsx-scope · 不要求 · ESBuild 还不支持 jsx - 因此需要 - esbuild#334

  • Golang Linter
    笔记 · Go Lint

    vet · securego/gosec · dominikh/go-tools · 替代 gofmt - 更严格 · mvdan/gofumpt · mgechev/revive · go-critic/go-critic · https://go-critic.com/overview.html

  • golangci-lint
    笔记 · golangci-lint

    Ignore rules inside code: · Configuration Guide · Linters Reference · GitHub Action · Example .golangci.yml

参考资料

GitHub25 条
最近更新commit 8f6dcd8编辑