lib/config/config.js
function lintJson(content) {
	try {
		jsonlint.parse(content);
	} catch (lintError) {
		if (typeof lintError.message === 'string') {
			lintError.message = lintError.message.replace(/\t/g, ' ');
		}

		throw lintError;
	}
}
function lintJson(content) {
	try {
		jsonlint.parse(content);
	} catch (lintError) {
		if (typeof lintError.message === 'string') {
			lintError.message = lintError.message.replace(/\t/g, ' ');
		}

		throw lintError;
	}
}
function lintJson ( content ) { try { jsonlint . parse ( content ) ; } catch ( lintError ) { if ( typeof lintError . message === 'string' ) { lintError . message = lintError . message . replace ( / \t / g , ' ' ) ; } throw lintError ; } }
Lint a JSON file, and throw if an error is found
@param {*} configPath
Lint a JSON file and throw if an error is found