Skip to content

Commit

Permalink
Remove Gulp lint task, update eslint.json
Browse files Browse the repository at this point in the history
  • Loading branch information
wltsmrz committed Feb 4, 2015
1 parent 79892af commit 6da4dd9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
7 changes: 0 additions & 7 deletions Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
var webpack = require('webpack');
var eslint = require('gulp-eslint');
var map = require('map-stream');
var bump = require('gulp-bump');
var react = require('gulp-react');
Expand Down Expand Up @@ -160,12 +159,6 @@ gulp.task('bower-version', function() {

gulp.task('bower', ['bower-build', 'bower-build-min', 'bower-build-debug', 'bower-version']);

gulp.task('lint', function() {
return gulp.src('src/js/ripple/*.js')
.pipe(eslint({ reset: true, configFile: './eslint.json' }))
.pipe(eslint.format());
});

gulp.task('watch', function() {
gulp.watch('src/js/ripple/*', [ 'build-debug' ]);
});
Expand Down
1 change: 0 additions & 1 deletion eslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
"no-space-before-semi": 1,
"no-spaced-func": 1,
"space-after-keywords": [ 1, "always" ],
"space-in-brackets": [ 1, "always" ],
"space-infix-ops": 1,
"space-return-throw-case": 1,
"spaced-line-comment": 1,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
"devDependencies": {
"assert-diff": "0.0.4",
"coveralls": "~2.10.0",
"eslint": "^0.13.0",
"gulp": "~3.6.2",
"gulp-bump": "~0.1.10",
"gulp-clean-dest": "^0.1.0",
"gulp-concat": "~2.2.0",
"gulp-eslint": "^0.2.0",
"gulp-filelog": "^0.4.1",
"gulp-flowtype": "^0.4.1",
"gulp-plumber": "^0.6.6",
Expand All @@ -52,7 +52,7 @@
"pretest": "node_modules/.bin/gulp concat-sjcl",
"test": "./node_modules/.bin/istanbul test -x build/sjcl.js -x src/js/jsbn/* ./node_modules/mocha/bin/_mocha -- --reporter tap test/*-test.js",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
"lint": "./node_modules/.bin/gulp lint",
"lint": "eslint --reset -c eslint.json src/js/ripple/*.js",
"perf": "./scripts/perf_test.sh"
},
"repository": {
Expand Down

0 comments on commit 6da4dd9

Please sign in to comment.