linter no longer supports globals parameter
- also updates the pattern variable to support an array