Skip to content

Commit

Permalink
add .eslintrc.yml to example folders
Browse files Browse the repository at this point in the history
  • Loading branch information
joelnet committed Oct 16, 2018
1 parent 24c1357 commit 6bbcb62
Show file tree
Hide file tree
Showing 56 changed files with 24,182 additions and 7,199 deletions.
5 changes: 5 additions & 0 deletions examples/async-simple/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
__tests__/
coverage/
interop/
*.test.js
*.test.mjs
2 changes: 2 additions & 0 deletions examples/async-simple/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
extends: mojiscript
root: true
8 changes: 4 additions & 4 deletions examples/async-simple/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ const increase = x => x + 1
// double :: Number -> Number
const double = x => x * 2

const main = pipe([
const main = pipe ([
log,
sleep(1000),
sleep (1000),
increase,
double,
log,
log
])

run({ state, main }) //= > 10
run ({ state, main }) //= > 10

0 comments on commit 6bbcb62

Please sign in to comment.