function fix( fixer ) {
			var nsPath;
			var entry;
			var match;
			var pos;
			var ns;
			var re;
			var i;

			nsPath = replace( relative( LIB_DIR, dir ), '\\', '/' );
			match = RE_NS_VAR.exec( source.text );
			if ( !match ) {
				return null;
			}
			ns = match[ 1 ];
			entry = [
				'/**',
				'* @name <<alias>>',
				'* @memberof <<ns>>',
				'* @readonly',
				'* @type {Function}',
				'* @see {@link module:<<pkg>>}',
				'*/',
				'setReadOnly( <<ns>>, \'<<alias>>\', require( \'<<pkg>>\' ) );'
			].join( '\n' );
			entry = entry.replace( /<<pkg>>/g, nsPath + '/' + pkg );
			entry = entry.replace( /<<alias>>/g, camelcase( pkg ) );
			entry = entry.replace( /<<ns>>/g, ns );

			// Find position where to insert the entry (packages are listed in alphabetical order according to module name):
			pos = source.text.indexOf( 'var '+ns+' = {};' );
			for ( i = 0; i < packages.length; i++ ) {
				if ( pkg.localeCompare( packages[ i ], 'en', OPTS_COMPARE ) < 0 ) {
					break;
				}
				re = new RegExp( 'require\\( \'' + nsPath + '\\/' + packages[ i ] + '\' \\) \\);' );
				if ( re.test( source.text ) ) {
					pos = source.text.search( re );
				}
			}
			pos = source.text.indexOf( '\n', pos );
			return fixer.insertTextAfterRange( [ pos, pos ], '\n\n'+entry );
		}
Fixes the error message.

@private
@param {Function} fixer - ESLint fixer
@returns {Object} fix