lib/camelcase-ohm.js
function checkCamelCase(idNode) {
  var reported = false;
  var fakeContext = {
    report: function() { reported = true; },
    options: []
  };
  camelcase(fakeContext).Identifier(idNode);  // eslint-disable-line new-cap
  return !reported;
}
function checkCamelCase(idNode) {
  var reported = false;
  var fakeContext = {
    report: function() { reported = true; },
    options: []
  };
  camelcase(fakeContext).Identifier(idNode);  // eslint-disable-line new-cap
  return !reported;
}
function checkCamelCase ( idNode ) { var reported = false ; var fakeContext = { report : function ( ) { reported = true ; } , options : [ ] } ; camelcase ( fakeContext ) . Identifier ( idNode ) ; // eslint-disable-line new-cap return ! reported ; }
Checks whether the given node is considered an error by the camelcase rule.
Checks whether the given node is considered an error by the camelcase rule .