File tree Expand file tree Collapse file tree 6 files changed +34
-46
lines changed Expand file tree Collapse file tree 6 files changed +34
-46
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
+ "rules" : {
10
+ "strict" : [2 , " global" ],
11
+ "block-scoped-var" : 2 ,
12
+ "consistent-return" : 2 ,
13
+ "eqeqeq" : [2 , " smart" ],
14
+ "guard-for-in" : 2 ,
15
+ "no-caller" : 2 ,
16
+ "no-extend-native" : 2 ,
17
+ "no-loop-func" : 2 ,
18
+ "no-new" : 2 ,
19
+ "no-param-reassign" : 2 ,
20
+ "no-return-assign" : 2 ,
21
+ "no-unused-expressions" : 2 ,
22
+ "no-use-before-define" : 2 ,
23
+ "radix" : [2 , " always" ],
24
+ "indent" : [2 , 2 ],
25
+ "quotes" : [2 , " double" ],
26
+ "semi" : [2 , " always" ]
27
+ }
28
+ }
Original file line number Diff line number Diff line change 1
1
/. *
2
2
! /.gitignore
3
- ! /.jscsrc
4
- ! /.jshintrc
3
+ ! /.eslintrc.json
5
4
! /.travis.yml
6
5
/bower_components /
7
6
/node_modules /
8
7
/output /
9
- /tmp /
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
"private" : true ,
3
3
"scripts" : {
4
4
"clean" : " rimraf output && rimraf .pulp-cache" ,
5
- "build" : " jshint src && jscs src && pulp build --censor-lib --strict" ,
6
- "test" : " jshint src && jscs src && pulp test"
5
+ "build" : " eslint src && pulp build --censor-lib --strict" ,
6
+ "test" : " eslint src && pulp test"
7
7
},
8
8
"devDependencies" : {
9
+ "eslint" : " ^3.10.1" ,
9
10
"body-parser" : " ^1.15.2" ,
10
11
"express" : " ^4.14.0" ,
11
- "jscs" : " ^3.0.7" ,
12
- "jshint" : " ^2.9.4" ,
13
12
"pulp" : " ^9.0.1" ,
14
- "purescript" : " ^0.10.1" ,
15
13
"purescript-psa" : " ^0.3.9" ,
14
+ "purescript" : " ^0.10.2" ,
16
15
"rimraf" : " ^2.5.4" ,
17
16
"xhr2" : " ^0.1.3"
18
17
}
Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ affjax' req eb cb =
268
268
req.headers
269
269
270
270
addHeader :: Maybe RequestHeader -> Array RequestHeader -> Array RequestHeader
271
- addHeader h hs = case h of
271
+ addHeader mh hs = case mh of
272
272
Just h | not $ any (on eq requestHeaderName h) hs -> hs `Arr.snoc` h
273
273
_ -> hs
274
274
You can’t perform that action at this time.
0 commit comments