Automattic / Automattic/harper

French Spacing

Open
#1,497 28 comments 2 reactions 0 assignees View on GitHub
enhancement linting
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 15h
Merged PRs (30d)
106

Description

I insert two spaces at the end of sentences, as this makes sentence-wise navigation in Emacs easier, but also as a habit. Harper objects to this and complains:

> There are 2 spaces where there should be only one.

According to , I can disable the "Spaces" linter, but that would miss spacing in other places. Would it be possible to add a secondary rule or just tolerate french spacing in general?

Contributor guide

Open the contributing guide

Research direction

Start by reading the Spaces linter documentation and the discussion in this issue about a secondary rule versus tolerating French spacing generally. Trace where the Spaces rule is implemented and tested, then define completion as allowing sentence-ending double spaces without disabling checks for other spacing problems.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.