multimediallc / multimediallc/codeowners-plus

Should fail when an unexpected config section

Open
#163 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
41
Forks
13
Avg merge
5d 14h
Merged PRs (30d)
4

Description

Currently, if there's an unexpected section in the codeowners.toml file, it is silently ignored. Presumably, this would only happen by mistake, in which case an explicit error would make it much easier to debug.

(I haven't tested whether the same happens when an unexpected option is present in an expected section, but I'd expect it to fail, too)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the parser and tests for codeowners.toml, then reproduce the handling of an unexpected section. Add coverage showing that unexpected sections produce an explicit error, and verify whether unexpected options in expected sections should behave the same way.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.