mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-01-13 00:37:54 -05:00
This was done by first checking all files in the repository root by hand, and
then by doing the following:
$ npm i get-stdin@4
$ cat clean.coffee
fs = require 'fs'
stdin = require 'get-stdin'
stdin (text) ->
for file in text.trim().split('\n')
contents = fs.readFileSync file
.toString().replace /\s*$/, '\n'
fs.writeFileSync file, contents
return
$ ls !(node_modules)/**/*.coffee | coffee clean.coffee
806 B
806 B
How to contribute to CoffeeScript
-
Before you open a ticket or send a pull request, search for previous discussions about the same feature or issue. Add to the earlier ticket if you find one.
-
Before sending a pull request for a feature, be sure to have tests.
-
Use the same coding style as the rest of the codebase. If you're just getting started with CoffeeScript, there's a nice style guide.
-
In your pull request, do not add documentation to
index.htmlor re-build the minifiedcoffee-script.jsfile. We'll do those things before cutting a new release.