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
10 changes: 7 additions & 3 deletions docs/codacy-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,13 @@ rules:
languages:
- generic
patterns:
- pattern-regex: "(?im)^(?:(?!--|/\\*)[^\\n])*\\bapps\\.fnd_lookup_values\\b"
- pattern-regex: "(?im)^(?:(?!--|/\\*)[^\\n])*\\blookup_type\\b"
- pattern-not-regex: "(?im)^(?:(?!--|/\\*)[^\\n])*\\blanguage\\b"
- pattern-either:
Comment thread
DMarinhoCodacy marked this conversation as resolved.
# Scenario 1: lookup_type WITHOUT an active language clause
- pattern-regex: >-
(?is)(?:^|;)(?!(?:[^;]*?\n)*?[ \t]*(?:(?!--|/\*)[^\n;])*?\blanguage\b)[^;]*?\blookup_type\b
# Scenario 2: ANY use of apps.fnd_lookup_values
- pattern-regex: >-
(?im)^(?:(?!--|/\*)[^\n])*\bapps\.fnd_lookup_values\b
paths:
include:
- "*.sql"
Expand Down