Automattic / Automattic/harper

Add General Ruleset Preset Toggles

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

Description

**What problem does this solve?**
As the ruleset in harper grows it would be really nice to be able to enable and disable large sets of rules that belong or do not belong to a style guide.

**Proposed Solution**
There could be a rule group that enables the rules for AP Style and another set of rules for Chicago etc.

**Examples**
Basic dropdown similar to dialect selector that picks the rules that are pre-enabled.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing ruleset and the dialect selector, since the issue proposes a similar dropdown for selecting pre-enabled rules. Define how AP Style and Chicago presets should group rules and how users can enable or disable those groups; done means the proposed preset toggles work without preventing individual rule configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.