Created
March 16, 2016 05:17
-
-
Save cab/1c679607cbbfc25a50f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat test.js | |
import R from 'ramda'; | |
R.map( | |
function(f) | |
{ | |
return 2*f}, | |
[0,1,2]) | |
$ node bin/tidy.js test.js | |
fixing: ramda imports | |
fixing: anonymous function | |
fixing: arrow body style | |
fixing: newline at EOF | |
==================== | |
import { map } from 'ramda'; | |
map(f => 2 * f, [0, 1, 2]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment