title: Disable .babelrc inheritance
body: <p>How do I force babel NOT to look at the parent directory for <code>.babelrc</code>?</p>
  
  <ul>
  <li>I have two <code>.babelrc</code> files: <code>./a/.babelrc</code> and <code>./a/example/.babelrc</code>.</li>
  <li>I am running <code>babel</code> in <code>./a/example</code> path.</li>
  <li><code>./a/.babelrc</code> defines a plugin “lodash".</li>
  <li>I do not want to use this plugin when executing babel in <code>./a/example</code></li>
  </ul>
  
  <p>I have tried setting <code>./a/example/.babelrc</code> to:</p>
  
  <pre><code>{
      "stage": 0,
      "plugins": []
  }
  </code></pre>
  
  <p>However, running <code>babel</code> in <code>./a/example</code> path still uses "lodash" plugin.</p>
  
  <pre><code>$ pwd
  /a/example
  $ cat ./.babelrc
  {
      "stage": 0,
      "plugins": []
  }
  $ cat ./../.babelrc
  {
      "stage": 0,
      "plugins": [
          "lodash"
      ]
  }
  $ babel ./src/
  Error: ENOENT: no such file or directory, scandir '/a/node_modules/babel-plugin-lodash/node_modules/lodash'
      [..]
  $ babel --babelrc ./.babelrc ./src/
  Error: ENOENT: no such file or directory, scandir '/a/node_modules/babel-plugin-lodash/node_modules/lodash'
      [..]
  </code></pre>