Skip to content

Commit

Permalink
remove traces of jshint
Browse files Browse the repository at this point in the history
fixed all warnings for standard linter
removed jshint tasks
removed jshintrc and ignore files
removed from package.json
  • Loading branch information
VikramTiwari committed Aug 27, 2016
1 parent 36e50c1 commit 9987bb0
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 114 deletions.
1 change: 0 additions & 1 deletion .jshintignore

This file was deleted.

92 changes: 0 additions & 92 deletions .jshintrc

This file was deleted.

4 changes: 2 additions & 2 deletions gulp/development.js
Expand Up @@ -16,7 +16,7 @@ var paths = {
var webpack = require('webpack')
var webpackConfig = require('../webpack.config.js')

// var defaultTasks = ['clean', 'jshint', 'less', 'csslint', 'devServe', 'watch']
// var defaultTasks = ['clean', 'standard', 'less', 'csslint', 'devServe', 'watch']
var defaultTasks = ['webpack:build-dev', 'clean', 'less', 'sass', 'csslint', 'devServe', 'watch']

gulp.task('env:development', function () {
Expand Down Expand Up @@ -122,7 +122,7 @@ gulp.task('watch', function () {
interval: 500
})

gulp.watch(paths.js, ['jshint'])
gulp.watch(paths.js, ['standard'])
gulp.watch(paths.css, ['csslint']).on('change', plugins.livereload.changed)
gulp.watch(paths.less, ['less'])
gulp.watch(paths.sass, ['sass'])
Expand Down
3 changes: 0 additions & 3 deletions package.json
Expand Up @@ -67,7 +67,6 @@
"gulp-concat": "latest",
"gulp-csslint": "latest",
"gulp-cssmin": "latest",
"gulp-jshint": "latest",
"gulp-less": "latest",
"gulp-livereload": "latest",
"gulp-load-plugins": "latest",
Expand All @@ -80,8 +79,6 @@
"jasmine": "latest",
"jasmine-reporters": "latest",
"jquery": "latest",
"jshint": "latest",
"jshint-stylish": "latest",
"jsonwebtoken": "latest",
"karma": "latest",
"karma-chrome-launcher": "latest",
Expand Down
31 changes: 15 additions & 16 deletions webpack.config.js
Expand Up @@ -13,26 +13,25 @@ module.exports = {
filename: 'app.js'
},
module: {
loaders: [
{test: /\.css$/, loader: 'style-loader!css-loader'},
{
test: /\.js$/,
exclude: /(node_modules|bower_components|lib)/,
loader: 'babel?presets[]=es2015&presets[]=stage-1'
},
{
test: /(.*)\.(eot|svg|ttf|woff|woff2)$/,
loader: 'url-loader'
}
]
loaders: [{
test: /\.css$/,
loader: 'style-loader!css-loader'
}, {
test: /\.js$/,
exclude: /(node_modules|bower_components|lib)/,
loader: 'babel?presets[]=es2015&presets[]=stage-1'
}, {
test: /(.*)\.(eot|svg|ttf|woff|woff2)$/,
loader: 'url-loader'
}]
},
resolve: {
modulesDirectories: ['bower_components', 'node_modules']
},
plugins: [
/* new ngAnnotatePlugin({
add: true,
// other ng-annotate options here
})*/
// new ngAnnotatePlugin({
// add: true,
// // other ng-annotate options here
// })
]
}

0 comments on commit 9987bb0

Please sign in to comment.