#329·nuclide

[format-js] ES2015 Module support

Author: DaleLJeffersonCreated Jan 16, 2016Updated Dec 12, 2018

It seems all of the code mods work with require statements and not import statements, by default (with "add missing Requires") it adds duplicate requires for all of my import statements.

const React = require('React');

import React from 'react';