codeql-config.yml 873 B

12345678910111213141516171819202122232425262728293031323334
  1. name: "CodeQL config"
  2. # Paths example; these are completely different from the same keywords when used for on.<push|pull_request>.paths in a workflow
  3. # Restrict code scanning to files in specific directories by adding a paths array
  4. paths:
  5. - '**/*.js'
  6. - '**/*.json'
  7. - '**/*.htm*'
  8. # # Exclude files in specific directories from analysis by adding a paths-ignore array
  9. # paths-ignore:
  10. # - src/node_modules
  11. # - '**/*.test.js'
  12. # # Scanner packs example
  13. # packs:
  14. # # Use these packs for JavaScript and TypeScript analysis
  15. # javascript:
  16. # - scope/js-pack1
  17. # - scope/js-pack2
  18. # # Query filters example
  19. # query-filters:
  20. # - exclude:
  21. # problem.severity:
  22. # - warning
  23. # - recommendation
  24. # # Query filters example 2
  25. # query-filters:
  26. # - exclude:
  27. # id: js/redundant-assignment
  28. # - exclude:
  29. # id: js/useless-assignment-to-local