- 
                Notifications
    
You must be signed in to change notification settings  - Fork 147
 
Closed
Labels
A-configC-enhancementCategory: Raise on the bar on expectationsCategory: Raise on the bar on expectationshelp-wantedHelp wanted!Help wanted!
Description
Description
Currently typos errors on invalid section names in .typos.toml, but not invalid setting names.
Section name is an error:
[foo]
bar = "baz"
$ typos --dump-config -
TOML parse error at line 1, column 2
  |
1 | [foo]
  |  ^^^
unknown field `foo`, expected one of `files`, `default`, `type`
Setting is silently ignored:
[default]
bar = "baz"
Could typos warn or error in this case? This hides errors when you put a setting under [files] that should be under [default].
Metadata
Metadata
Assignees
Labels
A-configC-enhancementCategory: Raise on the bar on expectationsCategory: Raise on the bar on expectationshelp-wantedHelp wanted!Help wanted!