qodana.yaml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #-------------------------------------------------------------------------------#
  2. # Qodana analysis is configured by qodana.yaml file #
  3. # https://www.jetbrains.com/help/qodana/qodana-yaml.html #
  4. #-------------------------------------------------------------------------------#
  5. version: "1.0"
  6. #Specify inspection profile for code analysis
  7. profile:
  8. name: qodana.starter
  9. #Enable inspections
  10. #include:
  11. # - name: <SomeEnabledInspectionId>
  12. #Disable inspections
  13. exclude:
  14. - name: deps
  15. paths:
  16. - ./.go
  17. #Execute shell command before Qodana execution (Applied in CI/CD pipeline)
  18. #bootstrap: sh ./prepare-qodana.sh
  19. #Install IDE plugins before Qodana execution (Applied in CI/CD pipeline)
  20. #plugins:
  21. # - id: <plugin.id> #(plugin id can be found at https://plugins.jetbrains.com)
  22. # Quality gate. Will fail the CI/CD pipeline if any condition is not met
  23. # severityThresholds - configures maximum thresholds for different problem severities
  24. # testCoverageThresholds - configures minimum code coverage on a whole project and newly added code
  25. # Code Coverage is available in Ultimate and Ultimate Plus plans
  26. #failureConditions:
  27. # severityThresholds:
  28. # any: 15
  29. # critical: 5
  30. # testCoverageThresholds:
  31. # fresh: 70
  32. # total: 50
  33. #Specify Qodana linter for analysis (Applied in CI/CD pipeline)
  34. linter: jetbrains/qodana-go:2025.2