Skip to content

Commit

Permalink
fix(src): fix flow errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 committed Feb 1, 2018
2 parents 834d8fb + 84adec7 commit db3861a
Show file tree
Hide file tree
Showing 42 changed files with 15,811 additions and 1,855 deletions.
7 changes: 2 additions & 5 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[ignore]
<PROJECT_ROOT>/lib/.*
.*/node_modules/.*/tests?/.*\.json
<PROJECT_ROOT>/node_modules/.*/tests?/.*\.json

[include]
./src
Expand All @@ -10,9 +10,6 @@

[options]
module.system=node
module.name_mapper='.*\.sass$' -> 'empty/object'
module.name_mapper='.*\.scss$' -> 'empty/object'
module.name_mapper='.*\.css$' -> 'empty/object'
esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
suppress_comment= \\(.\\|\n\\)*\\flow-issue

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ coverage
.nyc_output
node_modules
lib
.eslintcache
7 changes: 6 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@ scripts
node_modules
.babelrc
.eslintrc
.flowconfig
.travis.yml
.eslintcache
.idea
solano.yml
renovate.json
commitlint.config.js
flow-typed
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ node_js:
- '8'
- '7'
- '6'
install:
- yarn install --ignore-engines --check-files --frozen-lockfile
script:
- yarn run prepublishOnly
after_success:
- npm run codecov
- npm run semantic-release
- npm run travis-deploy-once "npm run semantic-release"
branches:
except:
- /^v\d+\.\d+\.\d+$/
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {extends: ['@commitlint/config-conventional']}
136 changes: 136 additions & 0 deletions flow-typed/npm/@commitlint/cli_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
// flow-typed signature: 6b3e411701babc2e6f6520580da2616a
// flow-typed version: <<STUB>>/@commitlint/cli_v^5.2.5/flow_v0.61.0

/**
* This is an autogenerated libdef stub for:
*
* '@commitlint/cli'
*
* 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 '@commitlint/cli' {
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 '@commitlint/cli/fixtures/empty/commitlint.config' {
declare module.exports: any;
}

declare module '@commitlint/cli/fixtures/extends-root/extended' {
declare module.exports: any;
}

declare module '@commitlint/cli/fixtures/inner-scope/commitlint.config' {
declare module.exports: any;
}

declare module '@commitlint/cli/fixtures/inner-scope/inner-scope/commitlint.config' {
declare module.exports: any;
}

declare module '@commitlint/cli/fixtures/outer-scope/commitlint.config' {
declare module.exports: any;
}

declare module '@commitlint/cli/fixtures/parser-preset/commitlint.config' {
declare module.exports: any;
}

declare module '@commitlint/cli/fixtures/parser-preset/parser-preset' {
declare module.exports: any;
}

declare module '@commitlint/cli/fixtures/signoff/commitlint.config' {
declare module.exports: any;
}

declare module '@commitlint/cli/fixtures/simple/commitlint.config' {
declare module.exports: any;
}

declare module '@commitlint/cli/lib/cli' {
declare module.exports: any;
}

declare module '@commitlint/cli/lib/cli.test' {
declare module.exports: any;
}

declare module '@commitlint/cli/lib/help' {
declare module.exports: any;
}

declare module '@commitlint/cli/src/cli' {
declare module.exports: any;
}

declare module '@commitlint/cli/src/cli.test' {
declare module.exports: any;
}

declare module '@commitlint/cli/src/help' {
declare module.exports: any;
}

// Filename aliases
declare module '@commitlint/cli/fixtures/empty/commitlint.config.js' {
declare module.exports: $Exports<'@commitlint/cli/fixtures/empty/commitlint.config'>;
}
declare module '@commitlint/cli/fixtures/extends-root/extended.js' {
declare module.exports: $Exports<'@commitlint/cli/fixtures/extends-root/extended'>;
}
declare module '@commitlint/cli/fixtures/inner-scope/commitlint.config.js' {
declare module.exports: $Exports<'@commitlint/cli/fixtures/inner-scope/commitlint.config'>;
}
declare module '@commitlint/cli/fixtures/inner-scope/inner-scope/commitlint.config.js' {
declare module.exports: $Exports<'@commitlint/cli/fixtures/inner-scope/inner-scope/commitlint.config'>;
}
declare module '@commitlint/cli/fixtures/outer-scope/commitlint.config.js' {
declare module.exports: $Exports<'@commitlint/cli/fixtures/outer-scope/commitlint.config'>;
}
declare module '@commitlint/cli/fixtures/parser-preset/commitlint.config.js' {
declare module.exports: $Exports<'@commitlint/cli/fixtures/parser-preset/commitlint.config'>;
}
declare module '@commitlint/cli/fixtures/parser-preset/parser-preset.js' {
declare module.exports: $Exports<'@commitlint/cli/fixtures/parser-preset/parser-preset'>;
}
declare module '@commitlint/cli/fixtures/signoff/commitlint.config.js' {
declare module.exports: $Exports<'@commitlint/cli/fixtures/signoff/commitlint.config'>;
}
declare module '@commitlint/cli/fixtures/simple/commitlint.config.js' {
declare module.exports: $Exports<'@commitlint/cli/fixtures/simple/commitlint.config'>;
}
declare module '@commitlint/cli/index' {
declare module.exports: $Exports<'@commitlint/cli'>;
}
declare module '@commitlint/cli/index.js' {
declare module.exports: $Exports<'@commitlint/cli'>;
}
declare module '@commitlint/cli/lib/cli.js' {
declare module.exports: $Exports<'@commitlint/cli/lib/cli'>;
}
declare module '@commitlint/cli/lib/cli.test.js' {
declare module.exports: $Exports<'@commitlint/cli/lib/cli.test'>;
}
declare module '@commitlint/cli/lib/help.js' {
declare module.exports: $Exports<'@commitlint/cli/lib/help'>;
}
declare module '@commitlint/cli/src/cli.js' {
declare module.exports: $Exports<'@commitlint/cli/src/cli'>;
}
declare module '@commitlint/cli/src/cli.test.js' {
declare module.exports: $Exports<'@commitlint/cli/src/cli.test'>;
}
declare module '@commitlint/cli/src/help.js' {
declare module.exports: $Exports<'@commitlint/cli/src/help'>;
}
33 changes: 33 additions & 0 deletions flow-typed/npm/@commitlint/config-conventional_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// flow-typed signature: 211481ade58a5d1b48d157e08d068cc3
// flow-typed version: <<STUB>>/@commitlint/config-conventional_v^5.2.3/flow_v0.61.0

/**
* This is an autogenerated libdef stub for:
*
* '@commitlint/config-conventional'
*
* 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 '@commitlint/config-conventional' {
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.
*/


// Filename aliases
declare module '@commitlint/config-conventional/index' {
declare module.exports: $Exports<'@commitlint/config-conventional'>;
}
declare module '@commitlint/config-conventional/index.js' {
declare module.exports: $Exports<'@commitlint/config-conventional'>;
}
33 changes: 33 additions & 0 deletions flow-typed/npm/@jedwards1211/eslint-config-flow_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// flow-typed signature: 7be3f328e60a5bb311c142ba0bf1e16d
// flow-typed version: <<STUB>>/@jedwards1211/eslint-config-flow_v^1.0.0/flow_v0.61.0

/**
* This is an autogenerated libdef stub for:
*
* '@jedwards1211/eslint-config-flow'
*
* 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 '@jedwards1211/eslint-config-flow' {
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.
*/


// Filename aliases
declare module '@jedwards1211/eslint-config-flow/index' {
declare module.exports: $Exports<'@jedwards1211/eslint-config-flow'>;
}
declare module '@jedwards1211/eslint-config-flow/index.js' {
declare module.exports: $Exports<'@jedwards1211/eslint-config-flow'>;
}
33 changes: 33 additions & 0 deletions flow-typed/npm/@jedwards1211/eslint-config_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// flow-typed signature: 6be0a15102c7305fbc30e7744c9e0e60
// flow-typed version: <<STUB>>/@jedwards1211/eslint-config_v^1.0.0/flow_v0.61.0

/**
* This is an autogenerated libdef stub for:
*
* '@jedwards1211/eslint-config'
*
* 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 '@jedwards1211/eslint-config' {
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.
*/


// Filename aliases
declare module '@jedwards1211/eslint-config/index' {
declare module.exports: $Exports<'@jedwards1211/eslint-config'>;
}
declare module '@jedwards1211/eslint-config/index.js' {
declare module.exports: $Exports<'@jedwards1211/eslint-config'>;
}

0 comments on commit db3861a

Please sign in to comment.