Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
chore(linter): switch to standardjs
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeriopvl committed Jul 26, 2017
1 parent 4886070 commit a02cbb8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
9 changes: 1 addition & 8 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,12 @@ module.exports = function (grunt) {
'CHANGELOG.md'
]
}
},
eslint: {
target: [
'bin/karma',
'lib/*.js',
'gruntfile.js'
]
}
})

require('load-grunt-tasks')(grunt)

grunt.registerTask('default', ['eslint'])
grunt.registerTask('default', [])

grunt.registerTask('release', 'Bump the version and publish to NPM.', function (type) {
grunt.task.run([
Expand Down
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
"bugs": {
"url": "https://github.com/karma-runner/karma-cli/issues"
},
"scripts": {
"lint": "standard",
"test": "npm run lint"
},
"keywords": [
"karma",
"spectacular",
Expand All @@ -34,17 +38,15 @@
"Brian Hann <emailc0bra@gmail.com>"
],
"dependencies": {
"resolve": "^1.1.6"
"resolve": "^1.3.3"
},
"devDependencies": {
"eslint-config-standard": "^4.4.0",
"eslint-plugin-standard": "^1.3.1",
"grunt": "^0.4.1",
"grunt-bump": "^0.3.1",
"grunt-conventional-changelog": "^1.2.2",
"grunt-eslint": "^17.0.0",
"grunt-npm": "0.0.2",
"load-grunt-tasks": "^3.2.0"
"load-grunt-tasks": "^3.2.0",
"standard": "^10.0.2"
},
"preferGlobal": true,
"bin": {
Expand Down

0 comments on commit a02cbb8

Please sign in to comment.