title: Node must be provided when reporting error if location is not provided. Error with no-unused-vars when running ESLint 7.11.0
body: <p>I'm getting an error when trying to run ESLint on one of the repos I'm working on. I've boiled the issue down to that, for some reason, ESLint throws errors on a few specific files because they contain enums. I believe other files in the repo contain enums as well, but for some reason only these ones crash the linter. When I comment the enums out, lint runs perfectly fine. I've looked into the issue a bit, but I'm not exactly sure what the solution is. The <code>.eslintrc</code> file has <code>no-unused-vars</code> and <code>@typescript-eslint/no-unused-vars</code>, which I've read is an issue, but I've messed around with enabling and disabling each of them individually to no avail. Setting either of them to active will create the same error, and the only way for the linter to run is to disable both.</p>
  <p>Here is the error that gets thrown when running lint:</p>
  <pre><code>AssertionError [ERR_ASSERTION]: Node must be provided when reporting error if location is not provided
      at assertValidNodeInfo (/home/simon/code/janus-api/node_modules/eslint/lib/linter/report-translator.js:98:9)
      at /home/simon/code/janus-api/node_modules/eslint/lib/linter/report-translator.js:311:9
      at Object.report (/home/simon/code/janus-api/node_modules/eslint/lib/linter/linter.js:920:41)
      at Program:exit (/home/simon/code/janus-api/node_modules/eslint/lib/rules/no-unused-vars.js:622:33)
      at /home/simon/code/janus-api/node_modules/eslint/lib/linter/safe-emitter.js:45:58
      at Array.forEach (&lt;anonymous&gt;)
      at Object.emit (/home/simon/code/janus-api/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
      at NodeEventGenerator.applySelector (/home/simon/code/janus-api/node_modules/eslint/lib/linter/node-event-generator.js:254:26)
      at NodeEventGenerator.applySelectors (/home/simon/code/janus-api/node_modules/eslint/lib/linter/node-event-generator.js:283:22)
      at NodeEventGenerator.leaveNode (/home/simon/code/janus-api/node_modules/eslint/lib/linter/node-event-generator.js:306:14)
  </code></pre>
  <p>and when running with <code>--debug</code> I get this error:</p>
  <pre><code>eslint:linter Line: 1 +0ms
    eslint:linter Parser Options: {
    ecmaFeatures: { globalReturn: false },
    ecmaVersion: 11,
    sourceType: 'module',
    project: './tsconfig.json'
  } +0ms
    eslint:linter Parser Path: /home/simon/code/janus-api/node_modules/@typescript-eslint/parser/dist/index.js +0ms
    eslint:linter Settings: {} +0ms
  </code></pre>
  <p>Thanks!</p>