Super-linter is a ready-to-run collection of linters and code analyzers, to help validate and fix your source code.
The goal of super-linter is to help you establish best practices and consistent formatting across multiple programming languages, and ensure developers are adhering to those conventions.
Super-linter analyzes source code files using several tools, and reports the issues that those tools find as console output, and as GitHub Actions status checks. You can also run super-linter outside GitHub Actions.
Super-linter can also help you fix linting and formatting issues.
Super-linter is licensed under an MIT License.
Here are some notable Super-linter features:
v6, Super-linter parallelizes running
all the included linters, leading to scanning massive code repositories in
seconds.If you would like to help contribute to Super-linter, see CONTRIBUTING.
For a guide on how to set up your development environment and contribute to Super-linter, see the development guide.
Super-linter supports the following tools:
| Language | Linters | Formatters |
|---|---|---|
| Ansible | ansible-lint | See YAML and Python formatters |
| Amazon States Language | ASL Validator | See JSON formatters |
| Astro | Biome | Biome |
| AWS CloudFormation templates | AWS CloudFormation Linter (cfn-lint), Checkov, Trivy | See YAML formatters |
| Azure Resource Manager (ARM) | Azure Resource Manager Template Toolkit (arm-ttk), Checkov, Trivy | See JSON formatters |
| C, C++ | cpp-lint | clang-format |
| C# | See Dotnet solutions | dotnet format whitespace command |
| CSS, SCSS, Sass | stylelint, Biome | Prettier, Biome |
| Clojure | clj-kondo | |
| CoffeeScript | coffeelint | |
| Commit messages | commitlint | |
| Copy/paste detection | jscpd | N/A |
| Dart | dart analyze command | |
| Dockerfile | Haskell Dockerfile Linter (Hadolint), Checkov, Trivy | |
| Dotnet (.NET) solutions (sln) | dotnet format command: analyzers, style subcommands. | dotnet format command: whitespace subcommand. |
| EditorConfig | editorconfig-checker | |
| .env | dotenv-linter | |
| Git merge conflict markers | Git conflict markers presence in files | N/A |
| 日期 | 榜单 | 排名 | 周期新增 | 总 STAR |
|---|