title: eslint fails with Cannot read config file: /some/path/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended
body: <p>I am following the instructions to setup ESLint from <a href="https://developer.aliyun.com/mirror/npm/package/@typescript-eslint/eslint-plugin" rel="noreferrer">here</a>.</p>
  <p>ESLint fails with the following message:</p>
  <pre><code>$ npm run lint
  
  &gt; IACS@1.0.0 lint /some/path/sscce-typescript-react-eslint
  &gt; eslint '*/**/*.{js,ts,tsx}' --quiet --fix
  
  Error: Cannot read config file: /some/path/sscce-typescript-react- 
  eslint/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended
  Error: ENOENT: no such file or directory, open '/some/path/sscce-typescript-react- 
  eslint/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended'
  Referenced from: /some/path/sscce-typescript-react-eslint/node_modules/@typescript- 
  eslint/eslint-plugin/dist/index.js
  Referenced from: /some/path/sscce-typescript-react-eslint/.eslintrc.js
  </code></pre>
  <p>A file with the following name does exist:</p>
  <pre><code>/some/path/sscce-typescript-react-eslint/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended.js
  </code></pre>
  <p>... but apparently ESLint is not anticipating the <code>*.js</code> extension and cannot find the file.</p>
  <p>Shortest self-contained concrete example is found in <a href="https://github.com/mperdikeas/sscce-typescript-react-eslint" rel="noreferrer">this github repo</a>.</p>
  <p>For completeness purposes on this site, my <code>package.json</code> is:</p>
  <pre><code>{
    &quot;name&quot;: &quot;IACS&quot;,
    &quot;version&quot;: &quot;1.0.0&quot;,
    &quot;description&quot;: &quot;react, typescript&quot;,
    &quot;main&quot;: &quot;index.js&quot;,
    &quot;scripts&quot;: {
      &quot;dev&quot;: &quot;webpack-dev-server --hot --inline --devtool source-map --progress --colors  --port 8090&quot;,
      &quot;lint&quot;: &quot;eslint '*/**/*.{js,ts,tsx}' --quiet --fix&quot;
    },
    &quot;keywords&quot;: [],
    &quot;author&quot;: &quot;&quot;,
    &quot;license&quot;: &quot;ISC&quot;,
    &quot;devDependencies&quot;: {
      &quot;@babel/core&quot;: &quot;^7.8.7&quot;,
      &quot;@babel/plugin-proposal-class-properties&quot;: &quot;^7.8.7&quot;,
      &quot;@babel/plugin-transform-async-to-generator&quot;: &quot;^7.8.7&quot;,
      &quot;@babel/preset-env&quot;: &quot;^7.8.7&quot;,
      &quot;@babel/preset-react&quot;: &quot;^7.8.7&quot;,
      &quot;@babel/register&quot;: &quot;^7.8.7&quot;,
      &quot;@babel/runtime&quot;: &quot;^7.8.7&quot;,
      &quot;@types/jquery&quot;: &quot;^3.5.1&quot;,
      &quot;@types/react&quot;: &quot;^16.9.40&quot;,
      &quot;@types/react-dom&quot;: &quot;^16.9.8&quot;,
      &quot;@typescript-eslint/eslint-plugin&quot;: &quot;^3.7.1&quot;,
      &quot;@typescript-eslint/parser&quot;: &quot;^3.7.1&quot;,
      &quot;babel-loader&quot;: &quot;^8.0.5&quot;,
      &quot;cross-env&quot;: &quot;^5.2.0&quot;,
      &quot;css-loader&quot;: &quot;^2.1.0&quot;,
      &quot;eslint&quot;: &quot;^5.16.0&quot;,
      &quot;eslint-config-airbnb&quot;: &quot;^17.1.0&quot;,
      &quot;eslint-plugin-import&quot;: &quot;^2.15.0&quot;,
      &quot;eslint-plugin-jsx-a11y&quot;: &quot;^6.2.0&quot;,
      &quot;eslint-plugin-react&quot;: &quot;^7.20.5&quot;,
      &quot;file-loader&quot;: &quot;^3.0.1&quot;,
      &quot;html-webpack-plugin&quot;: &quot;^3.2.0&quot;,
      &quot;null-loader&quot;: &quot;^0.1.1&quot;,
      &quot;react-hot-loader&quot;: &quot;^4.6.3&quot;,
      &quot;ts-loader&quot;: &quot;^7.0.5&quot;,
      &quot;typescript&quot;: &quot;^3.9.5&quot;,
      &quot;webpack&quot;: &quot;^4.29.0&quot;,
      &quot;webpack-cli&quot;: &quot;^3.3.*&quot;,
      &quot;webpack-dev-server&quot;: &quot;^3.1.14&quot;
    },
    &quot;dependencies&quot;: {
      &quot;@babel/polyfill&quot;: &quot;^7.8.7&quot;,
      &quot;jquery&quot;: &quot;^3.5.1&quot;,
      &quot;react&quot;: &quot;^16.8.0&quot;,
      &quot;react-dom&quot;: &quot;^16.9.8&quot;
    }
  }
  </code></pre>
  <p>and my <code>.eslintrc.js</code> is:</p>
  <pre><code>module.exports = {
      parser: &quot;@typescript-eslint/parser&quot;,
      &quot;plugins&quot;: [&quot;@typescript-eslint&quot;],
    parserOptions: {
      ecmaVersion: 2020,
      sourceType: &quot;module&quot;,
      ecmaFeatures: {
        jsx: true
      }
    },
    settings: {
      react: {
        version: &quot;detect&quot;
      }
    },
    extends: [
      &quot;plugin:react/recommended&quot;,
      &quot;plugin:@typescript-eslint/recommended&quot;
    ],
    rules: {
        &quot;extends&quot;: [&quot;eslint:recommended&quot;, &quot;plugin:@typescript-eslint/recommended&quot;]
    },
  };
  </code></pre>