File tree Expand file tree Collapse file tree 8 files changed +42
-49
lines changed
Expand file tree Collapse file tree 8 files changed +42
-49
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "parserOptions" : {
3+ "ecmaVersion" : 5
4+ },
5+ "extends" : " eslint:recommended" ,
6+ "env" : {
7+ "commonjs" : true
8+ },
9+ "globals" : {
10+ "console" : true
11+ },
12+ "rules" : {
13+ "strict" : [2 , " global" ],
14+ "block-scoped-var" : 2 ,
15+ "consistent-return" : 2 ,
16+ "eqeqeq" : [2 , " smart" ],
17+ "guard-for-in" : 2 ,
18+ "no-caller" : 2 ,
19+ "no-extend-native" : 2 ,
20+ "no-loop-func" : 2 ,
21+ "no-new" : 2 ,
22+ "no-param-reassign" : 2 ,
23+ "no-return-assign" : 2 ,
24+ "no-unused-expressions" : 2 ,
25+ "no-use-before-define" : 2 ,
26+ "radix" : [2 , " always" ],
27+ "indent" : [2 , 2 ],
28+ "quotes" : [2 , " double" ],
29+ "semi" : [2 , " always" ],
30+ "no-console" : 0
31+ }
32+ }
Original file line number Diff line number Diff line change 11/. *
22! /.gitignore
3- ! /.jscsrc
4- ! /.jshintrc
3+ ! /.eslintrc.json
54! /.travis.yml
65/bower_components /
76/node_modules /
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11language : node_js
22dist : trusty
33sudo : required
4- node_js : 6
4+ node_js : stable
55env :
66 - PATH=$HOME/purescript:$PATH
77install :
Original file line number Diff line number Diff line change 1717 " package.json"
1818 ],
1919 "dependencies" : {
20- "purescript-eff" : " ^2 .0.0"
20+ "purescript-eff" : " ^3 .0.0"
2121 }
2222}
Original file line number Diff line number Diff line change 22 "private" : true ,
33 "scripts" : {
44 "clean" : " rimraf output && rimraf .pulp-cache" ,
5- "build" : " jshint src && jscs src && pulp build --censor-lib --strict"
5+ "build" : " eslint src && pulp build -- --censor-lib --strict"
66 },
77 "devDependencies" : {
8- "jscs" : " ^2.8.0" ,
9- "jshint" : " ^2.9.1" ,
10- "pulp" : " ^9.0.1" ,
11- "purescript-psa" : " ^0.3.9" ,
12- "rimraf" : " ^2.5.0"
8+ "eslint" : " ^3.17.1" ,
9+ "pulp" : " ^10.0.4" ,
10+ "purescript-psa" : " ^0.5.0-rc.1" ,
11+ "rimraf" : " ^2.6.1"
1312 }
1413}
Original file line number Diff line number Diff line change 11module Control.Monad.Eff.Console where
22
3- import Control.Monad.Eff (Eff )
3+ import Control.Monad.Eff (Eff , kind Effect )
44
55import Data.Show (class Show , show )
66import Data.Unit (Unit )
77
88-- | The `CONSOLE` effect represents those computations which write to the
99-- | console.
10- foreign import data CONSOLE :: !
10+ foreign import data CONSOLE :: Effect
1111
1212-- | Write a message to the console.
1313foreign import log
You can’t perform that action at this time.
0 commit comments