Automattic / Automattic/harper

TODO (all caps) should not be changed to 'To-Do'

Open
#1,057 5 comments 21 reactions 0 assignees View on GitHub
bug harper-core linting
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 12h
Merged PRs (30d)
106

Description

## Description

Spurious fix. Many filetypes have TODO in comments.
Suggesting 'To-Do' is wrong. Adding it to UserDict didn't help.
Neovim 0.11, arch linux.
Occurs in nvim/init.lua and subtree as well as in a giant tree of markdown files in ~/books/

lua: some_code -- TODO some text

## Resources

none needed.

## Screenshots

none needed.

Contributor guide

Open the contributing guide

Research direction

The report identifies nvim/init.lua, its subtree, and a large markdown tree as reproduction locations; begin by reproducing the TODO-to-“To-Do” suggestion in those files. Confirm completion when all-caps TODO in comments is left unchanged and the incorrect suggestion no longer appears.

Written by the indexing model from the issue text.

Assessment

Tech stack
arch-linux, lua, markdown, neovim, rust
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.