THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

This is Gitea test Portainer repository mirror from Github
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.1KB

  1. version: "2"
  2. checks:
  3. argument-count:
  4. enabled: true
  5. config:
  6. threshold: 4
  7. complex-logic:
  8. enabled: true
  9. config:
  10. threshold: 4
  11. file-lines:
  12. enabled: true
  13. config:
  14. threshold: 300
  15. method-complexity:
  16. enabled: false
  17. method-count:
  18. enabled: true
  19. config:
  20. threshold: 20
  21. method-lines:
  22. enabled: true
  23. config:
  24. threshold: 50
  25. nested-control-flow:
  26. enabled: true
  27. config:
  28. threshold: 4
  29. return-statements:
  30. enabled: false
  31. similar-code:
  32. enabled: true
  33. config:
  34. threshold: #language-specific defaults. overrides affect all languages.
  35. identical-code:
  36. enabled: true
  37. config:
  38. threshold: #language-specific defaults. overrides affect all languages.
  39. plugins:
  40. gofmt:
  41. enabled: true
  42. golint:
  43. enabled: true
  44. govet:
  45. enabled: true
  46. csslint:
  47. enabled: true
  48. duplication:
  49. enabled: true
  50. config:
  51. languages:
  52. javascript:
  53. mass_threshold: 80
  54. eslint:
  55. enabled: true
  56. channel: "eslint-5"
  57. config:
  58. config: .eslintrc.yml
  59. fixme:
  60. enabled: true
  61. exclude_patterns:
  62. - test/