Skip to content

Rule being ignored #402

@danikaze

Description

@danikaze

I just started using gdlint and I found a weird behavior. I don't know if it's a bug or not but it feels unnatural.

In .gdlintrc (from gdlint -d) there's this rule (among others)

comparison-with-itself: null

But still being reported when running it

Error: Redundant comparison (comparison-with-itself)

I've checked with -v that it's properly being loaded

INFO:root:('comparison-with-itself', None)

Expected: No errors reported when rules are set to null

Note: It happens the same with other rules, or setting other levels such as warning. Everything gets reported as an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions