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
This release:
- adds an experimental
--mode
argument tohhast-lint
, supporting JSON and VSCode Language Server Protocol - Removes
--perf
in favor of--xhprof
- adds a linter banning
use
statements withoutuse type
,use namespace
,use function
,use constant
etc - adds a non-default linter requiring
<?hh // strict
. This can be suppressed for specific files viahhast_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