Real HCL2, not a reimplementation
The parser wraps github.com/hashicorp/hcl/v2/hclsyntax compiled to WebAssembly, so the AST and its source positions match what OpenTofu itself sees.
An ESLint language plugin that parses .tf and .tofu with HashiCorp's own hcl/v2, so OpenTofu conventions are enforced by the linter you already run.
lintofu, wire it into eslint.config.js, and pick a config tier.Pre-1.0. The API and the rule set may still change. See ADR 0001 for why the project stays on 0.x.