title: How to restrict imports from sibling directories using an eslint rule?
body: <p>I have a mono repo style codebase where I build several separate applications that have a shared codebase. I want an eslint rule that errors if one app tries to import from another app.</p>
  
  <p>My file structure looks like this:</p>
  
  <pre><code>/src/App1  
  /src/App2  
  /src/App3  
  /src/Shared  
  /.eslintrc.json  
  /package.json  
  </code></pre>