Revert D5409825: [RN] Convert easy files to Prettier

Differential Revision: D5409825

fbshipit-source-id: f797a40b58bc6bcc6ae53ed820a10ab49d3f10f5
This commit is contained in:
Eli White
2017-07-12 19:22:43 -07:00
committed by Facebook Github Bot
parent bfece1d800
commit aafccdf622
27 changed files with 122 additions and 166 deletions

View File

@@ -5,18 +5,16 @@
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @format
*/
'use strict';
require('babel-register')({
presets: [
require('babel-preset-es2015-node'),
require('babel-preset-stage-3'),
require('babel-preset-stage-3')
],
// Enable transpiling for react-native-git-upgrade AND the generator, just like the upgrade CLI command does
only: /(react-native-git-upgrade\/(?!(node_modules)))|(local-cli\/generator)/,
only: /(react-native-git-upgrade\/(?!(node_modules)))|(local-cli\/generator)/
});
var cliEntry = require('./cliEntry');