Skip to content

Request: controlling pre-commit tab size (2 spaces vs 4 spaces) #620

@jamesbraza

Description

@jamesbraza

Problem

I have prettier run on all files with .prettierrc.toml of tabWidth = 4, to match PEP 8 spacing in all files (YAML, JSON, etc.).

This conflicts with nitpick's edits to .pre-commit-config.yaml, because nitpick uses 2 spaces.

Possible solution

Exposing a new configuration parameter tab-width to enable compatibility with my prior config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    Upvoted / Requests

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions