Automattic / Automattic/harper

Support for More Complex Lint Configuration

Open
#3,084 2 comments 1 reaction 0 assignees View on GitHub
config-options-prefs-settings linting
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 15h
Merged PRs (30d)
106

Description

We need a better way to configure which linters are on or off. Specifically, our linter (rule) configuration system should:

- Be hierarchical. It should be broken down into categories, which can be enabled or disabled in chunks.
- Allow swapping between one of many options. For instance, the Oxford comma setting should have three options: "Use Oxford Comma", "Do Not Use Oxford Comma", and "off".

Is there anything here I am forgetting?

Naturally, this will be a breaking change, which means a major version bump.

Contributor guide

Open the contributing guide

Research direction

The issue does not name files, tests, or entry points. Start by locating the linter and rule-configuration system, then document the existing configuration model and assess how hierarchical categories, multi-option rules, and the proposed breaking change should be represented; done means the design covers these requirements and any missing cases.

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.