From 9ef84b385f25d517342f1cddc6a32aaef4156bdd Mon Sep 17 00:00:00 2001 From: pyth0n1c <87383215+pyth0n1c@users.noreply.github.com> Date: Tue, 31 Aug 2021 13:56:19 -0700 Subject: [PATCH] added a .semgrepignore file to ignore erroneous eval errors from semgrep. eval is used in spl files and does not present a security risk. --- .semgrepignore | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .semgrepignore diff --git a/.semgrepignore b/.semgrepignore new file mode 100644 index 0000000000..d153b2bfb0 --- /dev/null +++ b/.semgrepignore @@ -0,0 +1,31 @@ +# This file uses .gitignore syntax: +# +# To ignore a file anywhere it occurs in your project, enter a +# glob pattern here. E.g. "*.min.js". +# +# To ignore a directory anywhere it occurs in your project, add +# a trailing slash to the file name. E.g. "dist/". +# +# To ignore a file or directory only relative to the project root, +# include a slash anywhere except the last character. E.g. +# "/dist/", or "src/generated". +# +# Some parts of .gitignore syntax are not supported, and patterns +# using this syntax will be dropped from the ignore list: +# - Explicit "include syntax", e.g. "!kept/". +# - Multi-character expansion syntax, e.g. "*.py[cod]" +# +# To include ignore patterns from another file, start a line +# with ':include', followed by the path of the file. E.g. +# ":include path/to/other/ignore/file". +# +# To ignore a file with a literal ':' character, escape it with +# a backslash, e.g. "\:foo". + +# Ignore git items +.gitignore +.git/ +:include .gitignore + +#spl files may contain eval and other statements that should NOT trigger semgrep warnings +*.spl \ No newline at end of file