Skip to content

Commit

Permalink
Update linting_static_analysis.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ziesski committed Oct 3, 2023
1 parent ef23dbd commit f375a38
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions _docs/developer/testing/linting_static_analysis.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ php vendor/bin/phpstan analyze app public/index.php socket/index.php --generate-
The argument `--memory_limit 2G` is necessary when phpstan will otherwise not have enough memory
to generate a new baseline. You can see how much memory phpstan has been using with the `-v` flag

## submitty_test script for PHP

There is a script for php static analysis and code sniffer
Just like submitty_install_site, you can use "submitty_test php-lint" inside your VM.

## JavaScript Linting

The frontend JavaScript code Submitty uses is linted using [eslint](https://eslint.org/).
Expand Down

0 comments on commit f375a38

Please sign in to comment.