function reportNoEndingSpace( node, token, tokenBefore ) {
    context.report({
      node: node,
      loc: token.loc.start,
      message: 'There should be no space before \'' + token.value + '\'',
      fix: function( fixer ) {
        return fixer.removeRange([ tokenBefore.range[ 1 ], token.range[ 0 ] ]);
      }
    });
  }
function reportNoEndingSpace( node, token, tokenBefore ) {
    context.report({
      node: node,
      loc: token.loc.start,
      message: 'There should be no space before \'' + token.value + '\'',
      fix: function( fixer ) {
        return fixer.removeRange([ tokenBefore.range[ 1 ], token.range[ 0 ] ]);
      }
    });
  }
function reportNoEndingSpace ( node , token , tokenBefore ) { context . report ( { node : node , loc : token . loc . start , message : 'There should be no space before \'' + token . value + '\'' , fix : function ( fixer ) { return fixer . removeRange ( [ tokenBefore . range [ 1 ] , token . range [ 0 ] ] ) ; } } ) ; }
Reports that there shouldn't be a space before the last token
@param {ASTNode} node - The node to report in the event of an error.
@param {Token} token - The token to use for the report.
@param {Token} tokenBefore - The token before `token`.
@returns {void}
Reports that there shouldn t be a space before the last token