Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

Commit

Permalink
Merge pull request #48 from symphonyoss/flow
Browse files Browse the repository at this point in the history
Flow
  • Loading branch information
jonfreedman committed Mar 25, 2017
2 parents e05dc56 + dd539b5 commit af11d38
Show file tree
Hide file tree
Showing 25 changed files with 2,367 additions and 1,223 deletions.
5 changes: 4 additions & 1 deletion .codeclimate.yml
Expand Up @@ -5,5 +5,8 @@ engines:
enabled: true
ratings:
paths:
- it/**
- src/**
- test/**
- test/**
exclude_paths:
- flow-typed/**
70 changes: 5 additions & 65 deletions .eslintrc
@@ -1,67 +1,7 @@
{
"parser": "babel-eslint",
"plugins": [
"flowtype"
],
"rules": {
"flowtype/boolean-style": [
2,
"boolean"
],
"flowtype/define-flow-type": 1,
"flowtype/delimiter-dangle": [
2,
"never"
],
"flowtype/generic-spacing": [
2,
"never"
],
"flowtype/no-primitive-constructor-types": 2,
"flowtype/no-weak-types": 1,
"flowtype/object-type-delimiter": [
2,
"comma"
],
"flowtype/require-parameter-type": 2,
"flowtype/require-return-type": [
2,
"always",
{
"annotateUndefined": "never"
}
],
"flowtype/require-valid-file-annotation": 2,
"flowtype/semi": [
2,
"always"
],
"flowtype/space-after-type-colon": [
2,
"always"
],
"flowtype/space-before-generic-bracket": [
2,
"never"
],
"flowtype/space-before-type-colon": [
2,
"never"
],
"flowtype/type-id-match": [
2,
"^([A-Z][a-z0-9]+)+Type$"
],
"flowtype/union-intersection-spacing": [
2,
"always"
],
"flowtype/use-flow-type": 1,
"flowtype/valid-syntax": 1
},
"settings": {
"flowtype": {
"onlyFilesWithFlowAnnotation": false
}
}
"extends": [
"canonical",
"canonical/flowtype",
"canonical/mocha"
]
}
6 changes: 5 additions & 1 deletion .flowconfig
@@ -1,9 +1,13 @@
[ignore]
.*/node_modules/.*
.*/node_modules/config-chain/.*
.*/node_modules/findup/.*
.*/node_modules/nock/.*
.*/node_modules/npmconf/.*

[include]

[libs]
flow-typed

[options]
module.use_strict=true
Expand Down
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -13,6 +13,8 @@ before_script:
- "if [[ $TRAVIS_PULL_REQUEST -eq 'false' ]]; then curl -s https://raw.githubusercontent.com/symphonyoss/contrib-toolbox/master/scripts/download-files.sh | bash; fi;"

script:
# run flow typing
- npm run-script flow
# execute tests with coverage instrumentation
- npm run-script test-cov
# execute integration tests against foundation-dev pod
Expand Down
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -16,6 +16,7 @@ Hubot is a [chatops](http://lmgtfy.com/?q=chatops+hubot) tool developed by GitHu

[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![Canonical Code Style](https://img.shields.io/badge/code%20style-canonical-blue.svg?style=flat-square)](https://github.com/gajus/canonical)

[![NPM](https://nodei.co/npm/hubot-symphony.png?downloads=true&stars=true)](https://nodei.co/npm/hubot-symphony/)

Expand Down
108 changes: 108 additions & 0 deletions flow-typed/npm/backoff_vx.x.x.js
@@ -0,0 +1,108 @@
// flow-typed signature: 35dbd6e51e31b9e20b35d103feccb37c
// flow-typed version: <<STUB>>/backoff_v2.5.0/flow_v0.42.0

/**
* This is an autogenerated libdef stub for:
*
* 'backoff'
*
* 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 'backoff' {
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 'backoff/lib/backoff' {
declare module.exports: any;
}

declare module 'backoff/lib/function_call' {
declare module.exports: any;
}

declare module 'backoff/lib/strategy/exponential' {
declare module.exports: any;
}

declare module 'backoff/lib/strategy/fibonacci' {
declare module.exports: any;
}

declare module 'backoff/lib/strategy/strategy' {
declare module.exports: any;
}

declare module 'backoff/tests/api' {
declare module.exports: any;
}

declare module 'backoff/tests/backoff_strategy' {
declare module.exports: any;
}

declare module 'backoff/tests/backoff' {
declare module.exports: any;
}

declare module 'backoff/tests/exponential_backoff_strategy' {
declare module.exports: any;
}

declare module 'backoff/tests/fibonacci_backoff_strategy' {
declare module.exports: any;
}

declare module 'backoff/tests/function_call' {
declare module.exports: any;
}

// Filename aliases
declare module 'backoff/index' {
declare module.exports: $Exports<'backoff'>;
}
declare module 'backoff/index.js' {
declare module.exports: $Exports<'backoff'>;
}
declare module 'backoff/lib/backoff.js' {
declare module.exports: $Exports<'backoff/lib/backoff'>;
}
declare module 'backoff/lib/function_call.js' {
declare module.exports: $Exports<'backoff/lib/function_call'>;
}
declare module 'backoff/lib/strategy/exponential.js' {
declare module.exports: $Exports<'backoff/lib/strategy/exponential'>;
}
declare module 'backoff/lib/strategy/fibonacci.js' {
declare module.exports: $Exports<'backoff/lib/strategy/fibonacci'>;
}
declare module 'backoff/lib/strategy/strategy.js' {
declare module.exports: $Exports<'backoff/lib/strategy/strategy'>;
}
declare module 'backoff/tests/api.js' {
declare module.exports: $Exports<'backoff/tests/api'>;
}
declare module 'backoff/tests/backoff_strategy.js' {
declare module.exports: $Exports<'backoff/tests/backoff_strategy'>;
}
declare module 'backoff/tests/backoff.js' {
declare module.exports: $Exports<'backoff/tests/backoff'>;
}
declare module 'backoff/tests/exponential_backoff_strategy.js' {
declare module.exports: $Exports<'backoff/tests/exponential_backoff_strategy'>;
}
declare module 'backoff/tests/fibonacci_backoff_strategy.js' {
declare module.exports: $Exports<'backoff/tests/fibonacci_backoff_strategy'>;
}
declare module 'backoff/tests/function_call.js' {
declare module.exports: $Exports<'backoff/tests/function_call'>;
}

0 comments on commit af11d38

Please sign in to comment.