Skip to content
This repository has been archived by the owner on Jun 7, 2018. It is now read-only.

Commit

Permalink
Add linting/editorconfig and fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
thatlittlegit committed Sep 17, 2017
1 parent 7f49013 commit 64ac87a
Show file tree
Hide file tree
Showing 5 changed files with 1,373 additions and 9 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# EditorConfig for gupp
root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = tab

[*.{json,yml}]
indent_style = space
indent_size = 2
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import {EventEmitter2} from 'eventemitter2';
export const emitter = new EventEmitter2();

const gupp = {
task(name, cb) {
emitter.on(`tasks.${name}`, cb);
}
task(name, cb) {
emitter.on(`tasks.${name}`, cb);
}
};

export default gupp;
Loading

0 comments on commit 64ac87a

Please sign in to comment.