Skip to content

prefer-object-rule false positives #201

@aladdin-add

Description

@aladdin-add

I've just tried [email protected] in eslint repo.

/Users/weiran/repo/github/eslint/karma.conf.js
  13:18  error  Rules should be declared using the object style  eslint-plugin/prefer-object-rule

/Users/weiran/repo/github/eslint/lib/cli-engine/formatters/checkstyle.js
  31:18  error  Rules should be declared using the object style  eslint-plugin/prefer-object-rule
.....

We can suggest users to use overrides to avoid these cases?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions