tryConfigPath(configPath, startFromCwd = false) {
		let resolveOptions;
		if (startFromCwd) {
			resolveOptions = { paths: [process.cwd()] };
		}

		try {
			return require.resolve(configPath, resolveOptions);
		} catch (_) {
			return null;
		}
	}
Try to resolve a configuration file at a path
@param {string} configPath - Path to attempt resolution from
@param {boolean} [startFromCwd=false] - Start resolution from current working directory
@returns {string | null}