Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22358

Change rubocop configuration for method length

    XMLWordPrintableJSON

Details

    • Reviewed
    • The rubocop definition for the maximum method length was set to 75.

    Description

      rubocop currently uses a maximum method length for the Ruby code of 10, which is way too restrictive. In Checkstyle we're using 150 lines per method. Don't know if it needs to be that much, but something between 50 and 75 seems to be more realistic, especially for test cases.

      Attachments

        Issue Links

          Activity

            People

              murtaza.hassan Murtaza Hassan
              janh Jan Hentschel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: