File: codeql-config.yml

package info (click to toggle)
openttd 15.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 57,232 kB
  • sloc: cpp: 292,178; ansic: 18,478; awk: 226; javascript: 86; makefile: 43; sh: 29; python: 29; xml: 27
file content (14 lines) | stat: -rw-r--r-- 632 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
    # Our (GUI) code tends to use long switches.
    - cpp/long-switch