naming/allowed-names
Reports allowed names that no source file uses.
Part of the naming configuration, at the all level. It runs at the commit stage, once for the repository. gspot runs this check itself.
An allowed name that nothing uses hides an obsolete exception.
What to do
Section titled “What to do”Remove the record that matches nothing, or fix its name or path.
Example
Section titled “Example”An allowed name that no source file contains reports an unmatched record. Remove the name, or correct it to the exact identifier and scope.
Turn it off
Section titled “Turn it off”Turn it off for some files, with a reason:
gspot ignore naming/allowed-names --paths "<glob>" --reason "<why>"