Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"plugins": ["react", "flowtype"],
"parser": "babel-eslint",
"rules": {
"react/no-unescaped-entities": "off",
"no-use-before-define": "off",
"no-confusing-arrow": "off",
"no-else-return": "off",
"no-underscore-dangle": "off",
Expand Down
7 changes: 3 additions & 4 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
# https://flowtype.org/docs/advanced-configuration.html
[version]
0.45.0

[ignore]
.*/node_modules/jsverify/*
.*/node_modules/fbjs/*
.*/node_modules/react-motion/*
.*/node_modules/systemjs-builder/*
.*/node_modules/stylelint/*
.*/node_modules/flow-coverage-report/*
.*/node_modules/eslint-plugin-jsx-a11y/*

[options]
# FIXME - should turn on flow type for all files
# all=true
suppress_comment=\\(.\\|\n\\)*\\flow-disable-next-line
module.name_mapper='^.*\.css$' -> 'css-module-flow'
module.system.node.resolve_dirname=lib
module.system.node.resolve_dirname=src
module.system.node.resolve_dirname=node_modules
module.use_strict=true
Expand Down
61 changes: 0 additions & 61 deletions eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion flow-typed/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
// For hot module loading - configureStore
declare var module: {
hot: {
accept(path: ?string) : void;
accept(path: ?string, callback:() => void) : void;
}
};
8 changes: 4 additions & 4 deletions flow-typed/npm/babel-core_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 1088a3be0c78a935a7ab08020e83ed49
// flow-typed version: <<STUB>>/babel-core_v^6.24.0/flow_v0.41.0
// flow-typed signature: 9bc27a77a5243d841e24b89fd686cf0e
// flow-typed version: <<STUB>>/babel-core_v^6.24.1/flow_v0.45.0

/**
* This is an autogenerated libdef stub for:
Expand All @@ -8,8 +8,8 @@
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

Expand Down
15 changes: 11 additions & 4 deletions flow-typed/npm/babel-eslint_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 22e5660f6ace1e8a35df70bd5fa9b751
// flow-typed version: <<STUB>>/babel-eslint_v^7.1.1/flow_v0.41.0
// flow-typed signature: 400b5eeff3ce041e148d7e2cae9c2efe
// flow-typed version: <<STUB>>/babel-eslint_v^7.2.3/flow_v0.45.0

/**
* This is an autogenerated libdef stub for:
Expand All @@ -8,8 +8,8 @@
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

Expand All @@ -26,6 +26,10 @@ declare module 'babel-eslint/babylon-to-espree/attachComments' {
declare module.exports: any;
}

declare module 'babel-eslint/babylon-to-espree/convertComments' {
declare module.exports: any;
}

declare module 'babel-eslint/babylon-to-espree/convertTemplateType' {
declare module.exports: any;
}
Expand All @@ -50,6 +54,9 @@ declare module 'babel-eslint/babylon-to-espree/toTokens' {
declare module 'babel-eslint/babylon-to-espree/attachComments.js' {
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/attachComments'>;
}
declare module 'babel-eslint/babylon-to-espree/convertComments.js' {
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/convertComments'>;
}
declare module 'babel-eslint/babylon-to-espree/convertTemplateType.js' {
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/convertTemplateType'>;
}
Expand Down
8 changes: 4 additions & 4 deletions flow-typed/npm/babel-jest_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: e29f857cbe719bd33494c101d3b55cd1
// flow-typed version: <<STUB>>/babel-jest_v^19.0.0/flow_v0.41.0
// flow-typed signature: 3ec4cd10ba0077d5e87e4b37a0183ba6
// flow-typed version: <<STUB>>/babel-jest_v^19.0.0/flow_v0.45.0

/**
* This is an autogenerated libdef stub for:
Expand All @@ -8,8 +8,8 @@
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

Expand Down
8 changes: 4 additions & 4 deletions flow-typed/npm/babel-loader_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: fe859f6659e9d11774ff45bf751d796d
// flow-typed version: <<STUB>>/babel-loader_v^6.4.0/flow_v0.41.0
// flow-typed signature: 1f9dcd953c63b7a01bead0bcdd2beb90
// flow-typed version: <<STUB>>/babel-loader_v^7.0.0/flow_v0.45.0

/**
* This is an autogenerated libdef stub for:
Expand All @@ -8,8 +8,8 @@
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

Expand Down
8 changes: 4 additions & 4 deletions flow-typed/npm/babel-plugin-flow-react-proptypes_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: fed6e02230484e52be17ed1543c17a8e
// flow-typed version: <<STUB>>/babel-plugin-flow-react-proptypes_v^0.21.0/flow_v0.41.0
// flow-typed signature: 40928691891a5abbd3877b7d22066517
// flow-typed version: <<STUB>>/babel-plugin-flow-react-proptypes_v^2.1.3/flow_v0.45.0

/**
* This is an autogenerated libdef stub for:
Expand All @@ -8,8 +8,8 @@
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

Expand Down
32 changes: 32 additions & 0 deletions flow-typed/npm/babel-plugin-transform-decorators-legacy_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// flow-typed signature: a057c05b4e2d77d13f9f3c36051756fb
// flow-typed version: <<STUB>>/babel-plugin-transform-decorators-legacy_v^1.3.4/flow_v0.45.0

/**
* This is an autogenerated libdef stub for:
*
* 'babel-plugin-transform-decorators-legacy'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module 'babel-plugin-transform-decorators-legacy' {
declare module.exports: any;
}

/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'babel-plugin-transform-decorators-legacy/lib/index' {
declare module.exports: any;
}

// Filename aliases
declare module 'babel-plugin-transform-decorators-legacy/lib/index.js' {
declare module.exports: $Exports<'babel-plugin-transform-decorators-legacy/lib/index'>;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 76a02125146cb48c4078050ec70abf62
// flow-typed version: <<STUB>>/babel-plugin-transform-flow-strip-types_v^6.22.0/flow_v0.41.0
// flow-typed signature: 32d4874973842e2f3cdc07adc9ee227e
// flow-typed version: <<STUB>>/babel-plugin-transform-flow-strip-types_v^6.22.0/flow_v0.45.0

/**
* This is an autogenerated libdef stub for:
Expand All @@ -8,8 +8,8 @@
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

Expand Down
8 changes: 4 additions & 4 deletions flow-typed/npm/babel-polyfill_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 678cc58163c53b800f837a7cb3c7ce77
// flow-typed version: <<STUB>>/babel-polyfill_v^6.23.0/flow_v0.41.0
// flow-typed signature: d4e3f7bd2fd1121b111ddbe72f4e2a5f
// flow-typed version: <<STUB>>/babel-polyfill_v^6.23.0/flow_v0.45.0

/**
* This is an autogenerated libdef stub for:
Expand All @@ -8,8 +8,8 @@
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

Expand Down
8 changes: 4 additions & 4 deletions flow-typed/npm/babel-preset-es2015_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 073413068432a6420c7d101834ba49e7
// flow-typed version: <<STUB>>/babel-preset-es2015_v^6.24.0/flow_v0.41.0
// flow-typed signature: cd370b622e5ac2ea9d33bafbe97f0261
// flow-typed version: <<STUB>>/babel-preset-es2015_v^6.24.1/flow_v0.45.0

/**
* This is an autogenerated libdef stub for:
Expand All @@ -8,8 +8,8 @@
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

Expand Down
8 changes: 4 additions & 4 deletions flow-typed/npm/babel-preset-react_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 0ef3794c33e23f232524dd1db663afa3
// flow-typed version: <<STUB>>/babel-preset-react_v^6.23.0/flow_v0.41.0
// flow-typed signature: 75c1ceeb69838cff7b7e707faee2b414
// flow-typed version: <<STUB>>/babel-preset-react_v^6.24.1/flow_v0.45.0

/**
* This is an autogenerated libdef stub for:
Expand All @@ -8,8 +8,8 @@
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

Expand Down
8 changes: 4 additions & 4 deletions flow-typed/npm/babel-preset-stage-1_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 45cdf5fce1f463f67849a6c316586249
// flow-typed version: <<STUB>>/babel-preset-stage-1_v^6.22.0/flow_v0.41.0
// flow-typed signature: be6dd582191eff34cb03346dd14ccfb2
// flow-typed version: <<STUB>>/babel-preset-stage-1_v^6.24.1/flow_v0.45.0

/**
* This is an autogenerated libdef stub for:
Expand All @@ -8,8 +8,8 @@
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

Expand Down
8 changes: 4 additions & 4 deletions flow-typed/npm/babel-runtime_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 274322e4f1021493f4f60a1e242a6e4d
// flow-typed version: <<STUB>>/babel-runtime_v^6.23.0/flow_v0.41.0
// flow-typed signature: 00cf7c95ddc4cf4e3ec6c14bc54d4ce4
// flow-typed version: <<STUB>>/babel-runtime_v^6.23.0/flow_v0.45.0

/**
* This is an autogenerated libdef stub for:
Expand All @@ -8,8 +8,8 @@
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

Expand Down
18 changes: 18 additions & 0 deletions flow-typed/npm/caniuse-db_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// flow-typed signature: ef2ea5c9a24b2af08501651b659cb960
// flow-typed version: <<STUB>>/caniuse-db_v^1.0.30000665/flow_v0.45.0

/**
* This is an autogenerated libdef stub for:
*
* 'caniuse-db'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module 'caniuse-db' {
declare module.exports: any;
}
6 changes: 3 additions & 3 deletions flow-typed/npm/classnames_v2.x.x.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// flow-typed signature: cf6332fcf9a3398cffb131f7da90662b
// flow-typed version: dc0ded3d57/classnames_v2.x.x/flow_>=v0.28.x
// flow-typed signature: f18a1d7eaf96fce01718f217f06c838e
// flow-typed version: 3c3f096590/classnames_v2.x.x/flow_>=v0.23.x

type $npm$classnames$Classes =
string |
{[className: string]: ?boolean } |
{[className: string]: * } |
Array<string> |
false |
void |
Expand Down
Loading