ci: add sast-ruleset.toml

This commit is contained in:
naskya 2024-05-11 07:59:37 +09:00
parent f9e2bd2448
commit d4f1e06535
No known key found for this signature in database
GPG Key ID: 712D413B3A9FED5C
1 changed files with 25 additions and 0 deletions

25
.gitlab/sast-ruleset.toml Normal file
View File

@ -0,0 +1,25 @@
[nodejs-scan]
description = "Custom njsscan ruleset"
[[nodejs-scan.passthrough]]
type = "raw"
value = '''
---
- nodejs-extensions:
- .js
- .mjs
- .cjs
ignore-paths:
- .git
- .config
- .gitlab
- .vscode
- ci
- custom
- dev
- docs
- locales
- node_modules
- target
'''