code: function handleImports(context, includeExports, importsInFile, exportsInFile) {
      return function(node) {
          const value = getValue(node);
  
          if (value) {
              checkAndReport(context, node, value, importsInFile, "import");
  
              if (includeExports) {
                  checkAndReport(context, node, value, exportsInFile, "importAs");
              }
  
              importsInFile.push(value);
          }
      };
  }
docs: @callback nodeCallback
  @param {ASTNode} node - A node to handle.
   
  Returns a function handling the imports of a given file
  
  @param {RuleContext} context - The ESLint rule context object.
  @param {boolean} includeExports - Whether or not to check for exports in addition to imports.
  @param {string[]} importsInFile - The array containing other imports in the file.
  @param {string[]} exportsInFile - The array containing other exports in the file.
  
  @returns {nodeCallback} A function passed to ESLint to handle the statement.