-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Problem
Gruntconfig.json has a theme top-level config, which itself is an object that has keys that match the name of the theme. This key is used to construct a path to the theme to blacklist paths for grunt validate to run the eslint checks. If this key does not match the path, grunt validate will run eslint using the theme's eslint configuration before attempting to run eslint via the theme.
Solution
Log an error if src/themes/ does not exist, in quality.js. There might be multiple places for that.