Skip to content

Commit f0270dd

Browse files
existentialismgaearon
authored andcommitted
Bump babel-eslint and remove flow supressions (#13727)
1 parent 2d9cf43 commit f0270dd

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/ReactTestHostConfig.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import warning from 'shared/warning';
1111
import * as TestRendererScheduling from './ReactTestRendererScheduling';
1212

13-
/* eslint-disable no-use-before-define */
1413
export type Type = string;
1514
export type Props = Object;
1615
export type Container = {|
@@ -36,7 +35,6 @@ export type UpdatePayload = Object;
3635
export type ChildSet = void; // Unused
3736
export type TimeoutHandle = TimeoutID;
3837
export type NoTimeout = -1;
39-
/* eslint-enable no-use-before-define */
4038

4139
export * from 'shared/HostConfigWithNoPersistence';
4240
export * from 'shared/HostConfigWithNoHydration';

src/ReactTestRenderer.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ import ReactVersion from 'shared/ReactVersion';
3737
import * as ReactTestHostConfig from './ReactTestHostConfig';
3838
import * as TestRendererScheduling from './ReactTestRendererScheduling';
3939

40-
/* eslint-disable no-use-before-define */
4140
type TestRendererOptions = {
4241
createNodeMock: (element: React$Element<any>) => any,
4342
unstable_isAsync: boolean,
@@ -58,7 +57,6 @@ type FindOptions = $Shape<{
5857
}>;
5958

6059
export type Predicate = (node: ReactTestInstance) => ?boolean;
61-
/* eslint-enable no-use-before-define */
6260

6361
const defaultTestOptions = {
6462
createNodeMock: function() {

0 commit comments

Comments
 (0)