Skip to content

Hardcode Gitlab::Json methods instead of dependency

Robert May requested to merge simpler-json-cop into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Simplifies this rubocop cop to not have any external dependencies, as it's causing further problems in open MRs with additional dependencies in the Gitlab::Json class.

Follow-up from !101637 (merged)

Related #217633 (closed)

Related #378496 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Robert May

Merge request reports

Loading