function checkIfVarNameShouldStartWithDollar(varName, left, right) {

                if (/^_?\$/.test(varName)) {
                    return;
                }

                if (!right || right.type !== 'CallExpression') {
                    return;
                }

                var nextToken = right.callee.firstChild;
                if (nextToken.value !== '$') {
                    return;
                }

                nextToken = file.getNextToken(nextToken);
                if (nextToken.value !== '(') {
                    return;
                }

                while (!(nextToken.type === 'Punctuator' && nextToken.value === ')')) {
                    nextToken = file.getNextToken(nextToken);
                }

                nextToken = file.getNextToken(nextToken);
                if (!nextToken || !(nextToken.type === 'Punctuator' && nextToken.value === '.')) {
                    errors.add(
                        'jQuery identifiers must start with a $',
                        left
                    );
                }
            }
Require a $ before variable names that are jquery assignments.

Types: `Boolean` or `String`

Values: `true` or `"ignoreProperties"`

#### Example

```js
"requireDollarBeforejQueryAssignment": true
```

##### Valid example for mode `true`

```js
var $x = $(".foo");
var y = {
  $x: $(".bar")
};
```

##### Invalid example for mode `true`

```js
var x = $(".foo");
var y = {
  x: $(".bar")
};
```

##### Valid example for mode `ignoreProperties`

```js
var $x = $(".foo");
var y = {
  x: $(".bar")
};
```

##### Invalid example for mode `ignoreProperties`

```js
var x = $(".foo");
```