-
Notifications
You must be signed in to change notification settings - Fork 179
[rfc] config improvements #1375
Copy link
Copy link
Open
Labels
cat: rfcFeature requests and general proposalsFeature requests and general proposals
Milestone
Description
Relevant issues
To-do items
- replace the JSON config system with TOML.
tomllibis available as a backport fromtomlifor versions below 3.11, so we don't need to worry about backwards compatibility. - configuration per project would be desirable. proselint could search for overrides in project directories, and use those too.
- granular selection of checks (implemented in 0.16)
- the ability to select individual checks must be implemented
- partial paths should match all checks underneath that path, i.e. setting
misctotrueshould enable all checks withinmisc - granular overrides should apply, i.e. setting
misc.capitalizationtofalseshould deactivate all checks withinmisc.capitalization, and this should work at any level.
- replace merging system
- use recursive explicit merging via an
extendskey (proposal) - reverse searching priority, and stop when first usable config is found
- add rulesets for use in
extends([aggregate] Settings that control individual, or groups of, checks #1406, Add command line option to omit or only use certain rulesets #381)
- use recursive explicit merging via an
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cat: rfcFeature requests and general proposalsFeature requests and general proposals