'Add an Ignore file to github CODEOWNER

I have a simple repo that has branch protection / CODEOWNERs set to:

* @team

Is it possible to add a file / folder to CODEOWNER to make it be ignored?

Ive tried ! package.json and !package.json but both have made the CODEOWNERS file have an error.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source