Skip to content

Commit

Permalink
Bump babel-eslint and remove flow supressions (#13727)
Browse files Browse the repository at this point in the history
  • Loading branch information
existentialism authored and gaearon committed Sep 25, 2018
1 parent 2d9cf43 commit f0270dd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/ReactTestHostConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import warning from 'shared/warning';
import * as TestRendererScheduling from './ReactTestRendererScheduling';

/* eslint-disable no-use-before-define */
export type Type = string;
export type Props = Object;
export type Container = {|
Expand All @@ -36,7 +35,6 @@ export type UpdatePayload = Object;
export type ChildSet = void; // Unused
export type TimeoutHandle = TimeoutID;
export type NoTimeout = -1;
/* eslint-enable no-use-before-define */

export * from 'shared/HostConfigWithNoPersistence';
export * from 'shared/HostConfigWithNoHydration';
Expand Down
2 changes: 0 additions & 2 deletions src/ReactTestRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import ReactVersion from 'shared/ReactVersion';
import * as ReactTestHostConfig from './ReactTestHostConfig';
import * as TestRendererScheduling from './ReactTestRendererScheduling';

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

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

const defaultTestOptions = {
createNodeMock: function() {
Expand Down

0 comments on commit f0270dd

Please sign in to comment.