Skip to content

heading-capitalization (MD063) - false positive when heading contains a pronoun I #845

Description

@adam-moss

rumdl version

0.2.63

Installation method

mise

Bug description

When a heading contains a pronoun I and style is set to sentence-case, it incorrectly suggests lowercasing the I

Steps to reproduce

# How do I debug playbooks?

Expected behavior

No error reported.

Actual behavior

[MD063] Heading should use sentence case: 'How do I debug playbooks?' -> 'How do i debug playbooks?'

Configuration

[MD063]
style = "sentence-case"
preserve-cased-words = true

Operating system

macOS

Additional context

Adding

ignore-words = ["I", "I'd", "I'll", "I'm", "I've"] to the configuration fixes it, but this should likely be a default

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions