Skip to content

[BUG] Reek missing detectors key #14

Open
@fbuys

Description

@fbuys

IMPORTANT: please make sure you ask yourself all intro questions and fill all sections of the template.

Before we start...:

  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I'm reporting the issue to the correct repository (for multi-repository projects)

Version, Branch, or Commit:

Inform what version, branch, commit of the project you are using.

Expected behavior:

  1. Create a new project with this template
  2. Run bin/setup
  3. Commit changes without any errors or problems

Actual behavior:

When I try to commit after running the bin/setup script I see an error message:
reek key 'Attribute:' is undefined.

According to the documentation over here:
https://github.com/troessner/reek/blob/master/docs/Reek-4-to-Reek-5-migration.md#reek-4-to-reek-5-migration

Reek 5 now requires a detectors key for standalone detectors.

So I think we just need to update the .reek.yml file.

Steps to reproduce:

How do I achieve this behavior? Use the following format to provide a step-by-step guide:

  1. Step 1: I use the template to create a new project
  2. Step 2: I run bin/setup
  3. Step: 3: I try to commit all changes
  4. Step 4: I see an error message reek key 'Attribute:' is undefined.

Context and environment:

Provide any relevant information about your setup (Customize the list accordingly based on what info is relevant to this project)

  1. Version of the software the issue is being opened for. Reek 5
  2. Ruby version: 3.01

I will abide by the [code of conduct] (CODE_OF_CONDUCT.md)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions