Creates a rule set with the no-restricted-globals rule based on the provided globals record and an optional allow-list of exceptions.
no-restricted-globals
The globals to check against.
The globals that are allowed to be used.
A rule set with the no-restricted-globals rule.
Creates a rule set with the
no-restricted-globals
rule based on the provided globals record and an optional allow-list of exceptions.