title: Error while trying to install ESlint on a sharepoint project
body: <p>following this tutorial <a href="https://spblog.net/post/2020/12/22/sharepoint-framework-with-eslint" rel="nofollow noreferrer">https://spblog.net/post/2020/12/22/sharepoint-framework-with-eslint</a>
  i tried:</p>
  <pre><code>npm install eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin gulp-eslint7 eslint-plugin-react --save-dev
  </code></pre>
  <p>but got this error:</p>
  <pre><code>npm ERR! ERESOLVE could not resolve
  npm ERR! 
  npm ERR! While resolving: portfolio@0.0.1
  npm ERR! Found: @typescript-eslint/eslint-plugin@3.4.0
  npm ERR! node_modules/@typescript-eslint/eslint-plugin
  npm ERR!   @typescript-eslint/eslint-plugin@&quot;3.4.0&quot; from @rushstack/eslint-config@2.3.4
  npm ERR!   node_modules/@rushstack/eslint-config
  npm ERR!     @rushstack/eslint-config@&quot;2.3.4&quot; from @microsoft/rush-stack-compiler-3.9@0.4.47
  npm ERR!     node_modules/@microsoft/rush-stack-compiler-3.9
  npm ERR!       dev @microsoft/rush-stack-compiler-3.9@&quot;0.4.47&quot; from the root project
  npm ERR!   dev @typescript-eslint/eslint-plugin@&quot;*&quot; from the root project
  npm ERR!
  npm ERR! Could not resolve dependency:
  npm ERR! dev @typescript-eslint/eslint-plugin@&quot;*&quot; from the root project
  npm ERR!
  npm ERR! Conflicting peer dependency: @typescript-eslint/parser@5.5.0
  npm ERR! node_modules/@typescript-eslint/parser
  npm ERR!   peer @typescript-eslint/parser@&quot;^5.0.0&quot; from @typescript-eslint/eslint-plugin@5.5.0
  npm ERR!   node_modules/@typescript-eslint/eslint-plugin
  npm ERR!     dev @typescript-eslint/eslint-plugin@&quot;*&quot; from the root project
  npm ERR!
  npm ERR! Fix the upstream dependency conflict, or retry
  npm ERR! this command with --force, or --legacy-peer-deps
  npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
  npm ERR!
  npm ERR! See C:\Users\andrea.pacifico\AppData\Local\npm-cache\eresolve-report.txt for a full report.
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\Users\andrea.pacifico\AppData\Local\npm-cache\_logs\2021-12-03T15_07_31_657Z-debug.log
  </code></pre>
  <p>can anybody help?</p>