(fix) linting issues
This commit is contained in:
parent
13d1de8251
commit
3a3761a9c2
|
@ -1,2 +1,4 @@
|
||||||
node_modules/
|
node_modules/
|
||||||
build_webpack/
|
build_webpack/
|
||||||
|
flow_typed/
|
||||||
|
config/
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
[ignore]
|
[ignore]
|
||||||
.*/node_modules/findup/*
|
.*/node_modules/findup/*
|
||||||
|
.*/node_modules/**
|
||||||
|
.*/config/**
|
||||||
|
.*/migrations/**
|
||||||
.*/flow-typed/**
|
.*/flow-typed/**
|
||||||
|
.*/scripts/**
|
||||||
|
|
||||||
[include]
|
[include]
|
||||||
<PROJECT_ROOT>/src/**
|
<PROJECT_ROOT>/src/**
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
|
// @flow
|
||||||
// flow-typed signature: 984f6785a321187ac15c3434bbd7f25d
|
// flow-typed signature: 984f6785a321187ac15c3434bbd7f25d
|
||||||
// flow-typed version: 568ec63cee/history_v4.x.x/flow_>=v0.25.x
|
// flow-typed version: 568ec63cee/history_v4.x.x/flow_>=v0.25.x
|
||||||
|
|
||||||
declare module "history/createBrowserHistory" {
|
declare module 'history/createBrowserHistory' {
|
||||||
declare function Unblock(): void;
|
declare function Unblock(): void;
|
||||||
|
|
||||||
declare export type Action = "PUSH" | "REPLACE" | "POP";
|
declare export type Action = "PUSH" | "REPLACE" | "POP";
|
||||||
|
@ -42,7 +43,7 @@ declare module "history/createBrowserHistory" {
|
||||||
declare export default (opts?: HistoryOpts) => BrowserHistory;
|
declare export default (opts?: HistoryOpts) => BrowserHistory;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare module "history/createMemoryHistory" {
|
declare module 'history/createMemoryHistory' {
|
||||||
declare function Unblock(): void;
|
declare function Unblock(): void;
|
||||||
|
|
||||||
declare export type Action = "PUSH" | "REPLACE" | "POP";
|
declare export type Action = "PUSH" | "REPLACE" | "POP";
|
||||||
|
@ -88,7 +89,7 @@ declare module "history/createMemoryHistory" {
|
||||||
declare export default (opts?: HistoryOpts) => MemoryHistory;
|
declare export default (opts?: HistoryOpts) => MemoryHistory;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare module "history/createHashHistory" {
|
declare module 'history/createHashHistory' {
|
||||||
declare function Unblock(): void;
|
declare function Unblock(): void;
|
||||||
|
|
||||||
declare export type Action = "PUSH" | "REPLACE" | "POP";
|
declare export type Action = "PUSH" | "REPLACE" | "POP";
|
||||||
|
|
Loading…
Reference in New Issue