title: Import a file without actually importing it
body: <p>I'm creating a package that will get a JavaScript object from the user and do some things with that. All users need to do is to write the file name. Like so <code>node package.js file.js</code>.</p>
  
  <p>I use something like this: </p>
  
  <pre><code>  const object = require(process.argv[2]);
  </code></pre>
  
  <p>But linter gives me this <code>import/no-dynamic-require</code> and also webpack throws a warning like:</p>
  
  <pre><code>30:14-27 Critical dependency: the request of a dependency is an expression
  </code></pre>
  
  <p>So what do you think is the best way to use that file?</p>