Files @ r27108:77640487c4dc
Branch filter:

Location: cpp/openttd-patchpack/source/.github/codeql/codeql-config.yml

Rubidium
Update: change {STRING} to {ZEROFILL_NUM} for STR_FORMAT_DATE_TINY/ISO
name: openttd
queries:
- uses: security-and-quality
query-filters:
- exclude:
    id:
    # Only feasible way is to move away from fopen; fopen_s is optional C11 and not implemented on most platforms.
    - cpp/world-writable-file-creation
    # Basically OpenTTD's coding style for adding things like ..._INVALID to enumerations
    - cpp/irregular-enum-init
    # Our GUI code tends to use switches for OnClick handlers, DrawWidget, and UpdateWidgetSize. Sometimes GUIs just don't have many elements, but we want to keep consistency.
    - cpp/trivial-switch