Skip to content

Commit

Permalink
Merge pull request #25 from JohnnyEstilles/code-climate
Browse files Browse the repository at this point in the history
Method simplification and refactoring into separate files
  • Loading branch information
rafinskipg committed May 13, 2015
2 parents 81cd806 + 8a41d4e commit 28053b9
Show file tree
Hide file tree
Showing 25 changed files with 694 additions and 494 deletions.
3 changes: 2 additions & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"eqnull": true,
"node": true,
"mocha": true,
"expr": true
"expr": true,
"validthis": true
}
90 changes: 45 additions & 45 deletions tasks/defaults.js
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
//Defaults options
//Defaults options
module.exports = {
branch_name : '',
//[G]ithub [B]itbucket supported at the momment
repo_url: '',
version : '',
file: 'CHANGELOG.md',
app_name : 'My app - Changelog',
grep_commits: '^fix|^feat|^docs|BREAKING',
tag: null,
debug: false,
sections: [
{
title: 'Bug Fixes',
grep: '^fix'
},
{
title: 'Features',
grep: '^feat'
},
{
title: 'Documentation',
grep: '^docs'
},
{
title: 'Breaking changes',
grep: 'BREAKING'
},
{
title: 'Refactor',
grep: '^refactor'
},
{
title: 'Style',
grep: '^style'
},
{
title: 'Test',
grep: '^test'
},
{
title: 'Chore',
grep: '^chore'
}
]
branch_name : '',
//[G]ithub [B]itbucket supported at the momment
repo_url: '',
version : '',
file: 'CHANGELOG.md',
app_name : 'My app - Changelog',
grep_commits: '^fix|^feat|^docs|BREAKING',
tag: null,
debug: false,
sections: [
{
title: 'Bug Fixes',
grep: '^fix'
},
{
title: 'Features',
grep: '^feat'
},
{
title: 'Documentation',
grep: '^docs'
},
{
title: 'Breaking changes',
grep: 'BREAKING'
},
{
title: 'Refactor',
grep: '^refactor'
},
{
title: 'Style',
grep: '^style'
},
{
title: 'Test',
grep: '^test'
},
{
title: 'Chore',
grep: '^chore'
}
]

};
};
Loading

0 comments on commit 28053b9

Please sign in to comment.