Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coffeelint #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

zeronetscript
Copy link

Hello: zeronet is greate and I'd like to contribute some new features to ZeroBlog, but zeroblog coffeescript mix space and tabs ,makes it difficult to hack, so I did a quick fix , makes 99% coffeelint warning quiet

first commit is replace all tab to 2 spaces
second commit fix left coffeelint warning , such as
longer than 80
Unnecessary fat arrow
trailing whitespace
trailing semicolon

I've compare js result before and after, only SQL has space and newline differences.

There is only 1 warning left with coffeelint
getObject(elem) => Unnecessary fat arrow but replace it with ->
generated js lacks a call to
this.getObject = bind(this.getObject, this);

so I think this may be a miss warning and left it as it is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant