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

Rubocop configuration needs updated

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.3.0, 1.7.0
    • 3.0.0-alpha-1, 2.3.0, 1.7.0, 2.2.5
    • build
    • None
    • Reviewed

    Description

      Looking at the general check output on nightly/master, it looks like our .rubocop.yaml configuration file has drifted from the syntax expected by our current version of the tool. Lots of errors like the following:

      [2020-03-05T15:36:27.538Z] Running rubocop against identified ruby scripts.
      [2020-03-05T15:36:27.538Z] .rubocop.yml: Metrics/LineLength has the wrong namespace - should be Layout
      [2020-03-05T15:36:27.538Z] Error: The `Layout/IndentHeredoc` cop has been renamed to `Layout/HeredocIndentation`.
      [2020-03-05T15:36:27.538Z] (obsolete configuration found in .rubocop.yml, please update it)
      [2020-03-05T15:36:27.538Z] .rubocop.yml: Metrics/LineLength has the wrong namespace - should be Layout
      [2020-03-05T15:36:27.538Z] Error: The `Layout/IndentHeredoc` cop has been renamed to `Layout/HeredocIndentation`.
      [2020-03-05T15:36:27.538Z] (obsolete configuration found in .rubocop.yml, please update it)
      ...
      

      Attachments

        Issue Links

          Activity

            People

              janh Jan Hentschel
              ndimiduk Nick Dimiduk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: