Skip to content

Commit

Permalink
chore: remove unused grunt lint command (#3515)
Browse files Browse the repository at this point in the history
Use `npm run lint` instead.
  • Loading branch information
devoto13 committed May 18, 2020
1 parent 47f1cb2 commit a409696
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 29 deletions.
19 changes: 1 addition & 18 deletions gruntfile.js
Expand Up @@ -42,22 +42,6 @@ module.exports = function (grunt) {
]
}
},
eslint: {
options: {
quiet: true
},
target: [
'<%= files.server %>',
'<%= files.grunt %>',
'<%= files.scripts %>',
'<%= files.client %>',
'<%= files.common %>',
'<%= files.context %>',
'static/debug.js',
'test/**/*.js',
'gruntfile.js'
]
},
'npm-publish': {
options: {
requires: ['build'],
Expand Down Expand Up @@ -110,9 +94,8 @@ module.exports = function (grunt) {
grunt.loadTasks('tasks')
require('load-grunt-tasks')(grunt)

grunt.registerTask('lint', ['eslint'])
grunt.registerTask('build', ['browserify:client'])
grunt.registerTask('default', ['build', 'lint', 'test'])
grunt.registerTask('default', ['build', 'test'])
grunt.registerTask('test-appveyor', ['test:unit', 'test:client'])

grunt.registerTask('release', 'Build, bump and publish to NPM.', function (type) {
Expand Down
10 changes: 0 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Expand Up @@ -440,7 +440,6 @@
"grunt-contrib-watch": "^1.1.0",
"grunt-conventional-changelog": "^6.0.1",
"grunt-conventional-github-releaser": "^1.0.0",
"grunt-eslint": "^21.0.0",
"grunt-mocha-test": "^0.13.2",
"grunt-npm": "0.0.2",
"http2": "^3.3.6",
Expand Down

0 comments on commit a409696

Please sign in to comment.