Skip to content

adding checkmake and htmlhint #394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ description: The latest updates and changes to CodeRabbit.
sidebar_position: 13
---

## June 11, 2025

### Enhanced Static Analysis: HTMLHint and Checkmake Support

We're excited to announce that two new static analysis tools are now supported on CodeRabbit!

- [HTMLHint](https://htmlhint.com/) is a static code analysis tool for HTML that helps maintain code quality by detecting common mistakes and enforcing best practices.

- [Checkmake](https://github.com/mrtazz/checkmake) is a linter for Makefiles that helps ensure your build scripts follow best practices and maintain consistency.

## June 5, 2025

### Enhanced Static Analysis: Dotenv Linter and Pylint Support
Expand Down
30 changes: 30 additions & 0 deletions docs/tools/checkmake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: Checkmake
sidebar_label: Checkmake
description: CodeRabbit's guide to Checkmake.
---

```mdx-code-block
import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx';

<ProPlanNotice />
```

[Checkmake](https://github.com/mrtazz/checkmake) is a linter for Makefiles.

## Files

Checkmake will run checks against any `Makefile`.

## Configuration

Checkmake supports the following config files:

- `checkmake.yml`
- `checkmake.yaml`

CodeRabbit will use the default settings based on the profile selected if no config file is found.

## Links

- [Checkmake Configuration](https://github.com/mrtazz/checkmake#configuration)
31 changes: 31 additions & 0 deletions docs/tools/htmlhint.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: HTMLHint
sidebar_label: HTMLHint
description: CodeRabbit's guide to HTMLHint.
---

```mdx-code-block
import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx';

<ProPlanNotice />
```

[HTMLHint](https://htmlhint.com/) is a static code analysis tool for HTML.

## Files

HTMLHint will run checks against `*.html` files.

## Configuration

HTMLHint supports the following config files:

- `.htmlhintrc`
- `.htmlhintrc.json`
- `htmlhintrc.json`

CodeRabbit will use the default settings based on the profile selected if no config file is found.

## Links

- [HTMLHint Configuration](https://htmlhint.com/docs/user-guide/getting-started)
4 changes: 4 additions & 0 deletions docs/tools/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ For an overview of how CodeRabbit uses these tools when generating code reviews,
| GitLab Pipelines | [Pipeline Remediation][Pipeline] | CI/CD Failure Remediation |
| Go | [golangci-lint][golangci-lint] | Code Quality |
| Helm | [Checkov][Checkov] | Code Security |
| HTML | [HTMLHint][HTMLHint] | Code Quality |
| Javascript | [Biome][Biome], [oxlint][oxlint] | Code Quality |
| JSON, JSONC | [Biome][Biome] | Code Quality |
| JSX | [Biome][Biome], [oxlint][oxlint] | Code Quality |
| Kotlin | [detekt][detekt] | Code Quality |
| Kubernetes | [Checkov][Checkov] | Code Security |
| Lua | [Luacheck][Luacheck] | Code Quality |
| Makefile | [Checkmake][Checkmake] | Code Quality |
| Markdown | [markdownlint][markdownlint], [LanguageTool][LanguageTool] | Code Quality, Grammar Checking |
| PHP | [PHPStan][PHPStan] | Code Quality |
| Plaintext | [LanguageTool][LanguageTool] | Grammar and Spell Checking |
Expand Down Expand Up @@ -80,3 +82,5 @@ For an overview of how CodeRabbit uses these tools when generating code reviews,
[Clippy]: /tools/clippy.md
[Pylint]: /tools/pylint.md
[DotenvLinter]: /tools/dotenv.md
[HTMLHint]: /tools/htmlhint.md
[Checkmake]: /tools/checkmake.md