Skip to content

Commit a409696

Browse files
authored
chore: remove unused grunt lint command (#3515)
Use `npm run lint` instead.
1 parent 47f1cb2 commit a409696

File tree

3 files changed

+1
-29
lines changed

3 files changed

+1
-29
lines changed

gruntfile.js

+1-18
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,6 @@ module.exports = function (grunt) {
4242
]
4343
}
4444
},
45-
eslint: {
46-
options: {
47-
quiet: true
48-
},
49-
target: [
50-
'<%= files.server %>',
51-
'<%= files.grunt %>',
52-
'<%= files.scripts %>',
53-
'<%= files.client %>',
54-
'<%= files.common %>',
55-
'<%= files.context %>',
56-
'static/debug.js',
57-
'test/**/*.js',
58-
'gruntfile.js'
59-
]
60-
},
6145
'npm-publish': {
6246
options: {
6347
requires: ['build'],
@@ -110,9 +94,8 @@ module.exports = function (grunt) {
11094
grunt.loadTasks('tasks')
11195
require('load-grunt-tasks')(grunt)
11296

113-
grunt.registerTask('lint', ['eslint'])
11497
grunt.registerTask('build', ['browserify:client'])
115-
grunt.registerTask('default', ['build', 'lint', 'test'])
98+
grunt.registerTask('default', ['build', 'test'])
11699
grunt.registerTask('test-appveyor', ['test:unit', 'test:client'])
117100

118101
grunt.registerTask('release', 'Build, bump and publish to NPM.', function (type) {

package-lock.json

-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,6 @@
440440
"grunt-contrib-watch": "^1.1.0",
441441
"grunt-conventional-changelog": "^6.0.1",
442442
"grunt-conventional-github-releaser": "^1.0.0",
443-
"grunt-eslint": "^21.0.0",
444443
"grunt-mocha-test": "^0.13.2",
445444
"grunt-npm": "0.0.2",
446445
"http2": "^3.3.6",

0 commit comments

Comments
 (0)