mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 12:15:51 +00:00
Remove Gulp lint task, update eslint.json
This commit is contained in:
@@ -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');
|
||||
@@ -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' ]);
|
||||
});
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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",
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user