semgrep / pfff

pfff is mainly an OCaml API to write static analysis, dynamic analysis, code visualizations, code navigations, or style-preserving source-to-source transformations such as refactorings on source code.
https://semgrep.dev
Other
186 stars 29 forks source link

Parse Scala files that contain plain blocks #507

Closed mmcqd closed 2 years ago

mmcqd commented 2 years ago

Scala support script files that contain plain definitions, this PR adds the ability to parse them. See: https://github.com/returntocorp/semgrep/pull/4769

Security

mmcqd commented 2 years ago

Not sure why pre-commit is reformatting these common files, seems like that should have already been caught.