title: eslint working with the .eslintrc.js and not working with .eslintrc.json
body: <p>Here is the JSON:</p>
  <pre><code>{
      &quot;env&quot;: {
          &quot;node&quot;: true
      },
      &quot;root&quot;: true,
      &quot;parser&quot;: &quot;@typescript-eslint/parser&quot;,
      &quot;extends&quot;: [
          &quot;standard&quot;,
          &quot;eslint:recommended&quot;,
          &quot;plugin:@typescript-eslint/eslint-recommended&quot;,
          &quot;plugin:@typescript-eslint/recommended&quot;,
          &quot;plugin:import/errors&quot;,
          &quot;plugin:import/warnings&quot;,
          &quot;plugin:promise/recommended&quot;,
          &quot;prettier&quot;
      ],
      &quot;parserOptions&quot;: {
          &quot;ecmaVersion&quot;: 2021,
          &quot;sourceType&quot;: &quot;module&quot;
      },
      &quot;plugins&quot;: [
          &quot;prettier&quot;, &quot;@typescript-eslint&quot;
      ],
      &quot;rules&quot;: {
          &quot;semi&quot;: [2, &quot;always&quot;]
      }
  }
  </code></pre>
  <p>And here goes the js file:</p>
  <pre><code>module.exports = {
    root: true,
    parser: '@typescript-eslint/parser',
    extends: [
      'standard',
      'eslint:recommended',
      'plugin:@typescript-eslint/eslint-recommended',
      'plugin:@typescript-eslint/recommended',
      'plugin:import/errors',
      'plugin:import/warnings',
      'plugin:promise/recommended',
      'prettier',
    ],
    parserOptions: {
      ecmaVersion: 2021,
      sourceType: 'module',
    },
    plugins: ['prettier', '@typescript-eslint'],
    rules: {
      'semi': [2, 'always']
    },
    env: {
      node: true,
    },
  };
  
  </code></pre>
  <p>Can't figure out what is causing this issue.</p>
  <p>If I comment the contents of the js file and leave the json config and then run <code>npx eslint src/test.ts</code>, I get this:</p>
  <pre><code>Oops! Something went wrong! :(
  
  ESLint: 7.32.0
  
  ESLint couldn't find the plugin &quot;@typescript-eslint/eslint-plugin&quot;.
  
  (The package &quot;@typescript-eslint/eslint-plugin&quot; was not found when loaded as a Node module from the directory &quot;/Users/Albert/Documents/Projects&quot;.)
  
  It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:
  
      npm install @typescript-eslint/eslint-plugin@latest --save-dev
  
  The plugin &quot;@typescript-eslint/eslint-plugin&quot; was referenced from the config file in &quot;../.eslintrc.js&quot;.
  
  If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.
  </code></pre>
  <p>Why is it looking for the plugin inside the 'Projects' dir?</p>
  <p>I tried the proposed solution, didn't work.</p>