get files() {

	assertNormalized(this);

	// if this data has been cached, retrieve it
	const cache = dataCache.get(this);

	if (cache.files) {
		return cache.files;
	}

	// otherwise calculate it

	const result = [];

	for (const config of this) {
		if (config.files) {
			config.files.forEach(filePattern => {
				result.push(filePattern);
			});
		}
	}

	// store result
	cache.files = result;
	dataCache.set(this, cache);

	return result;
}
/**
	 * Returns the `files` globs from every config object in the array.
	 * This can be used to determine which files will be matched by a
	 * config array or to use as a glob pattern when no patterns are provided
	 * for a command line interface.
	 * @returns {Array<string|Function>} An array of matchers.
	 */
Returns the `files` globs from every config object in the array.
This can be used to determine which files will be matched by a
config array or to use as a glob pattern when no patterns are provided
for a command line interface.
@returns {Array} An array of matchers.
Returns the ` files ` globs from every config object in the array . This can be used to determine which files will be matched by a config array or to use as a glob pattern when no patterns are provided for a command line interface . @returns { Array } An array of matchers .
get files() {
	assertNormalized(this);
	const cache = dataCache.get(this);
	if (cache.files) {
		return cache.files;
	}
	const result = [];
	for (const config of this) {
		if (config.files) {
			config.files.forEach(filePattern => {
				result.push(filePattern);
			});
		}
	}
	cache.files = result;
	dataCache.set(this, cache);
	return result;
}
get files ( ) { assertNormalized ( this ) ; const cache = dataCache . get ( this ) ; if ( cache . files ) { return cache . files ; } const result = [ ] ; for ( const config of this ) { if ( config . files ) { config . files . forEach ( filePattern => { result . push ( filePattern ) ; } ) ; } } cache . files = result ; dataCache . set ( this , cache ) ; return result ; }
Returns the `files` globs from every config object in the array.
Returns the ` files ` globs from every config object in the array .
// if this data has been cached, retrieve it // otherwise calculate it // store result