code: function(env) {
  
  			var envConfig = this.createEmptyConfig();
  
  			if (env) {
  
  				envConfig.env = env;
  
  				Object.keys(env).filter(function(name) {
  					return env[name];
  				}).forEach(function(name) {
  					var environment = Environments.name;
  
  					if (environment) {
  						if (environment.globals) {
  							assign(envConfig.globals, environment.globals);
  						}
  
  						if (environment.parserOptions) {
  							assign(envConfig.parserOptions, environment.parserOptions);
  						}
  					}
  				});
  			}
  
  			return envConfig;
  		}
docs: Creates an environment config based on the specified environments.
  @param {Object<string,boolean>} env The environment settings.
  @returns {Object} A configuration object with the appropriate rules and globals
  set.