Skip to content

Testing moving GitlabSecurity cops to gitlab-styles

Peter Leitzen requested to merge pl-rubocop-gitlab-security into master

Testing gitlab-org/ruby/gems/gitlab-styles!151 (merged).

Show cops diff

--- before	2023-01-11 14:35:56.699827004 +0100
+++ after	2023-01-11 14:33:53.665587701 +0100
@@ -1,20 +1,20 @@
 GitlabSecurity/DeepMunge:
   Description: Checks for disabling the deep munge security control.
   Enabled: true
-  StyleGuide: http://www.rubydoc.info/gems/rubocop-gitlab-security/RuboCop/Cop/GitlabSecurity/DeepMunge
+  StyleGuide: https://www.rubydoc.info/gems/gitlab-styles/RuboCop/Cop/GitlabSecurity/DeepMunge
   Exclude:
   - "/home/peter/devel/gitlab/gdk/gitlab/lib/**/*.rake"
   - "/home/peter/devel/gitlab/gdk/gitlab/spec/**/*"
 
 GitlabSecurity/JsonSerialization:
-  Description: Checks for `to_json` / `as_json` without whitelisting via `only`.
+  Description: Checks for `to_json` / `as_json` without allowing via `only`.
   Enabled: false
-  StyleGuide: http://www.rubydoc.info/gems/rubocop-gitlab-security/RuboCop/Cop/GitlabSecurity/JsonSerialization
+  StyleGuide: https://www.rubydoc.info/gems/gitlab-styles/RuboCop/Cop/GitlabSecurity/JsonSerialization
 
 GitlabSecurity/PublicSend:
   Description: Checks for the use of `public_send`, `send`, and `__send__` methods.
   Enabled: true
-  StyleGuide: http://www.rubydoc.info/gems/rubocop-gitlab-security/RuboCop/Cop/GitlabSecurity/PublicSend
+  StyleGuide: https://www.rubydoc.info/gems/gitlab-styles/RuboCop/Cop/GitlabSecurity/PublicSend
   Exclude:
   - "/home/peter/devel/gitlab/gdk/gitlab/config/**/*"
   - "/home/peter/devel/gitlab/gdk/gitlab/db/**/*"
Edited by Peter Leitzen

Merge request reports

Loading