Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit eeaf0af

Browse files
committed
chore(jshint): remove jshint from build (#5060)
- Removing jshint. Plan to move spec/*.js files to TypeScript.
1 parent df59f29 commit eeaf0af

File tree

5 files changed

+2
-189
lines changed

5 files changed

+2
-189
lines changed

.jshintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.jshintrc

Lines changed: 0 additions & 28 deletions
This file was deleted.

gulpfile.js

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ gulp.task('tslint', function() {
4141
});
4242

4343
gulp.task('lint', function(done) {
44-
runSequence('tslint', 'jshint', 'format:enforce', done);
44+
runSequence('tslint', 'format:enforce', done);
4545
});
4646

4747
// prevent contributors from using the wrong version of node
@@ -59,23 +59,15 @@ gulp.task('checkVersion', function(done) {
5959
}
6060
});
6161

62-
gulp.task('built:copy', function(done) {
62+
gulp.task('built:copy', function() {
6363
return gulp.src(['lib/**/*.js'])
6464
.pipe(gulp.dest('built/'));
65-
done();
6665
});
6766

6867
gulp.task('webdriver:update', function(done) {
6968
runSpawn(done, 'node', ['bin/webdriver-manager', 'update']);
7069
});
7170

72-
gulp.task('jshint', function(done) {
73-
runSpawn(done, 'node', ['node_modules/jshint/bin/jshint', '-c',
74-
'.jshintrc', 'lib', 'spec', 'scripts',
75-
'--exclude=lib/selenium-webdriver/**/*.js,lib/webdriver-js-extender/**/*.js,' +
76-
'spec/dependencyTest/*.js,spec/install/**/*.js']);
77-
});
78-
7971
gulp.task('format:enforce', function() {
8072
var format = require('gulp-clang-format');
8173
var clangFormat = require('clang-format');

package-lock.json

Lines changed: 0 additions & 149 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
"gulp": "^3.9.1",
4848
"gulp-clang-format": "1.0.23",
4949
"gulp-tslint": "^7.0.1",
50-
"jshint": "^2.9.2",
5150
"lodash": "^4.5.1",
5251
"marked": "^0.3.3",
5352
"mocha": "2.5.3",

0 commit comments

Comments
 (0)