title: Error while loading rule '@typescript-eslint/dot-notation'
body: <p>Today I run eslint，two script</p>
  <pre><code> &quot;lint-staged&quot;: &quot;lint-staged&quot;,
   &quot;eslint&quot;: &quot;eslint --ext .tsx,.ts --fix ./src -c .eslintrc.js&quot;,
  
  </code></pre>
  <p>When I run <code>npm run eslint</code> // it's ok
  When I run <code>npm run lint-staged</code> // it's wrong</p>
  <p>lint-staged's result ;</p>
  <pre><code>&gt; lint-staged
    ❯ Running tasks for src/**/*.tsx
      ✖ eslint --fix [FAILED]
      ◼ git add
    
  ✖ eslint --fix :
  
  
  Oops! Something went wrong! :(
  
  ESLint: 7.10.0
  
  Error: Error while loading rule '@typescript-eslint/dot-notation': You have used a rule which requires parserServices to be generated. You must therefore provide a value for the &quot;parserOptions.project&quot; property for @typescript-eslint/parser.
  Occurred while linting /Users/***/components/BrowserInfo/Index.tsx
      at Object.getParserServices (/Users/fugang/workspace/xinao/channel-desk/node_modules/_@typescript-eslint_experimental-utils@4.3.0@@typescript-eslint/experimental-utils/dist/eslint-utils/getParserServices.js:26:15)
  </code></pre>
  <p>In package lint-staged</p>
  <p>What happend?</p>
  <pre><code>&quot;lint-staged&quot;: {
      &quot;src/**/*.tsx&quot;: [
        &quot;eslint --fix -c .eslintrc.js&quot;,
        &quot;git add&quot;
      ]
    },
  </code></pre>