diff --git a/Libraries/Components/ScrollView/ScrollView.js b/Libraries/Components/ScrollView/ScrollView.js index 5aa55af73..fcf9230a3 100644 --- a/Libraries/Components/ScrollView/ScrollView.js +++ b/Libraries/Components/ScrollView/ScrollView.js @@ -614,7 +614,7 @@ const ScrollView = createReactClass({ _handleScroll: function(e: Object) { if (__DEV__) { if (this.props.onScroll && this.props.scrollEventThrottle == null && Platform.OS === 'ios') { - console.log( // eslint-disable-line no-console-disallow + console.log( // eslint-disable-line no-console 'You specified `onScroll` on a but not ' + '`scrollEventThrottle`. You will only receive one event. ' + 'Using `16` you get all the events but be aware that it may ' + diff --git a/Libraries/Core/InitializeCore.js b/Libraries/Core/InitializeCore.js index 009bef714..dcf3a6401 100644 --- a/Libraries/Core/InitializeCore.js +++ b/Libraries/Core/InitializeCore.js @@ -105,9 +105,9 @@ if (!global.__fbDisableExceptionsManager) { try { ExceptionsManager.handleException(e, isFatal); } catch (ee) { - /* eslint-disable no-console-disallow */ + /* eslint-disable no-console */ console.log('Failed to print error: ', ee.message); - /* eslint-enable no-console-disallow */ + /* eslint-enable no-console */ throw e; } }; diff --git a/Libraries/Lists/FillRateHelper.js b/Libraries/Lists/FillRateHelper.js index 6a7da8416..bc119a837 100644 --- a/Libraries/Lists/FillRateHelper.js +++ b/Libraries/Lists/FillRateHelper.js @@ -11,7 +11,7 @@ * @format */ -/* eslint-disable no-console-disallow */ +/* eslint-disable no-console */ 'use strict'; diff --git a/Libraries/Utilities/infoLog.js b/Libraries/Utilities/infoLog.js index a3798fbd8..71fed5d2b 100644 --- a/Libraries/Utilities/infoLog.js +++ b/Libraries/Utilities/infoLog.js @@ -14,7 +14,7 @@ * Intentional info-level logging for clear separation from ad-hoc console debug logging. */ function infoLog(...args) { - return console.log(...args); // eslint-disable-line no-console-disallow + return console.log(...args); // eslint-disable-line no-console } module.exports = infoLog;