Skip to content

Commit

Permalink
fix(grunt): add .jshintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
btford committed Apr 6, 2013
1 parent ef96b67 commit fd79b78
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 4 deletions.
27 changes: 27 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"globals": {
"before": false,
"describe": false,
"it": false
},
"node": true,
"browser": true,
"es5": true,
"esnext": true,
"bitwise": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"immed": true,
"indent": 2,
"latedef": true,
"newcap": true,
"noarg": true,
"quotmark": "single",
"regexp": true,
"undef": true,
"unused": true,
"strict": true,
"trailing": true,
"smarttabs": true
}
9 changes: 9 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,19 @@ module.exports = function (grunt) {
'tasks/*.js',
'test/**/*.js'
]
},
release: {
options: {
commitMessage: 'v<%= version %>',
tagName: 'v<%= version %>',
npm: false,
push: false
}
}
});

grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-release');

grunt.loadTasks('tasks');

Expand Down
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"name": "grunt-changelog",
"version": "0.0.0",
"name": "grunt-conventional-changelog",
"version": "0.0.10",
"description": "Generate a markdown changelog from git commit data",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": "",
"repository": {
"type": "git",
"url": "https://github.com/btford/grunt-conventional-changelog.git"
},
"keywords": [
"grunt",
"changelog"
Expand All @@ -16,6 +19,7 @@
"dependencies": {},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-jshint": "~0.4.0"
"grunt-contrib-jshint": "~0.4.0",
"grunt-release": "https://github.com/btford/grunt-release/archive/feat-tag-name.tar.gz"
}
}

0 comments on commit fd79b78

Please sign in to comment.