Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .semgrepignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Semgrep exclusions.
#
# Semgrep's own defaults still apply — this file adds to them rather than
# replacing them.

# build.php is a standalone command-line build script. It is never
# autoloaded, never routed to, and never shipped: the production zip it
# assembles does not contain it.
#
# It trips two rules that are entirely correct about web code and entirely
# beside the point here — `exec-use`, because it shells out to composer and
# to git, and `unlink-use`, because it cleans its own staging directory.
# Neither takes anything from a request, because nothing here ever sees a
# request.
#
# Excluded as a file rather than suppressed line by line, because every
# finding in it has the same answer and a dozen `nosemgrep` comments would
# only make the next person read the reasoning a dozen times. Fellowship
# carries the same exclusion; the other plugins that ship this script had
# their findings triaged in the Semgrep platform instead, which works but
# is not visible in the repository.
build.php
Loading