talira

Compare

HLintPHP_CodeSnifferansible-lintTFLint
What it isSuggests possible improvements to Haskell codeDetect and fix coding standard violations in PHPChecks playbooks for practices and behavior that could potentially be improvedA Pluggable Terraform Linter
KindOpen sourceOpen sourceOpen sourceSource available
Trust0.520.740.740.26
Stars161915743939—
Last commit2026-11-062026-11-232026-11-18—
LicenceBSD-3-ClauseBSD-3-ClauseGPL-3.0-or-laterMPL-2.0 AND BUSL-1.1 (source-available)
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostableYes—YesYes
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins—YesYesYes
MCP server————
Company—PHPCSStandardsRed Hat
acquired by IBM (2019)
—
Features
  • suggestions to use better functions, simplify code and remove redundancy
  • warnings and suggestions with the found code and its replacement
  • .hlint.yaml configuration: ignore hints, add custom hints, set extensions
  • --refactor applies hints automatically with apply-refact
  • runs on files or recursively on directories
  • built into haskell-language-server
  • Emacs, Vim and Atom integrations
  • GitHub code scanning through the hlint-scan action
  • phpcs detects coding standard violations
  • phpcbf fixes them automatically
  • built-in standards and custom rulesets
  • project configuration files
  • signed PHAR downloads and Composer
  • rules for playbooks, roles and collections
  • profiles: min, basic, moderate, safety, shared, production
  • auto-fix with --fix, including YAML reformatting
  • output formats including SARIF, Code Climate JSON, Markdown and pep8
  • GitHub Action
  • disable rules individually or by category
  • custom rules directories
  • plugin-based rulesets
  • bundled Terraform ruleset with presets
  • AWS, Azure and Google Cloud rulesets
  • custom plugins installed with tflint --init
  • input variables and tfvars evaluated like Terraform
  • language server
  • GitHub Action (setup-tflint) and Docker image
Limitations
  • HLint checks each module in isolation without type information or knowledge of which names are in scope, so some suggestions may need type signatures or change behaviour
    • Doesn't install on Windows: Ansible-lint does not currently support Windows systems