Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

Commit

Permalink
feat(dev): add eslint loader
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Dec 7, 2015
1 parent 54e1f1e commit 760c169
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/webpack.dev.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ module.exports = {
},
devtool: 'source-map',
module: {
preLoaders: [{
test: /\.js$/,
exclude: /node_modules/,
loader: 'eslint-loader'
}],
loaders: [{
test: /\.js$/,
exclude: /node_modules|vue\/dist/,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"babel-preset-es2015": "^6.1.18",
"babel-preset-es2015-rollup": "^1.0.0",
"eslint": "^1.10.2",
"eslint-loader": "^1.1.1",
"istanbul-instrumenter-loader": "^0.1.3",
"json-loader": "^0.5.4",
"karma": "^0.13.9",
Expand Down

0 comments on commit 760c169

Please sign in to comment.