Skip to content

pre-commit allows inconsistent mix between tab and space indentation in JSON files #2332

@PromiseFru

Description

@PromiseFru

The check-json hook from pre-commit/pre-commit-hooks currently does not address the issue of inconsistent mixing between tab and space indentation within the JSON content. This can lead to potential problems, as mixing tabs and spaces for indentation is generally not recommended for JSON files.

bugbot/configs/rules.json

Lines 422 to 426 in d26e6fa

"performancebug": {
"max_days_in_cache": 7,
"days_lookup": 7,
"confidence_threshold": 0.9
},

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions