index.js
function createImportError(rule) {
	var url = rule.import ? rule.import.replace(/\r?\n/g, '\\n') : '<no url>';
	var err = ['Bad import url: @import ' + url];

	if (rule.position) {
		err.push('  starting at line ' + rule.position.start.line + ' column ' + rule.position.start.column);
		err.push('    ending at line ' + rule.position.end.line + ' column ' + rule.position.end.column);

		if (rule.position.source) {
			err.push('  in ' + rule.position.source);
		}
	}

	return err.join('\n');
 }
function createImportError(rule) {
	var url = rule.import ? rule.import.replace(/\r?\n/g, '\\n') : '<no url>';
	var err = ['Bad import url: @import ' + url];

	if (rule.position) {
		err.push('  starting at line ' + rule.position.start.line + ' column ' + rule.position.start.column);
		err.push('    ending at line ' + rule.position.end.line + ' column ' + rule.position.end.column);

		if (rule.position.source) {
			err.push('  in ' + rule.position.source);
		}
	}

	return err.join('\n');
 }
function createImportError ( rule ) { var url = rule . import ? rule . import . replace ( / \r?\n / g , '\\n' ) : '<no url>' ; var err = [ 'Bad import url: @import ' + url ] ; if ( rule . position ) { err . push ( '  starting at line ' + rule . position . start . line + ' column ' + rule . position . start . column ) ; err . push ( '    ending at line ' + rule . position . end . line + ' column ' + rule . position . end . column ) ; if ( rule . position . source ) { err . push ( '  in ' + rule . position . source ) ; } } return err . join ( '\n' ) ; }
Create bad import rule error

@param {String} rule
@api private
Create bad import rule error