Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

New linters, improved performance, additional experimental output formats

Compare
Choose a tag to compare
@fredemmott fredemmott released this 28 Jun 16:28

This release:

  • adds an experimental --mode argument to hhast-lint, supporting JSON and VSCode Language Server Protocol
  • Removes --perf in favor of --xhprof
  • adds a linter banning use statements without use type, use namespace, use function, use constant etc
  • adds a non-default linter requiring <?hh // strict. This can be suppressed for specific files via hhast_lint.json
  • handles non-UTF8 source files
  • improved performance: HHAST takes approximately 25% of the time to lint itself that it did in 3.27.0