We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a9162e commit 8cbdf56Copy full SHA for 8cbdf56
app/templates/_package.json
@@ -19,6 +19,7 @@
19
"css-loader": "^0.23.1",
20
"eslint": "^2.8.0",
21
"eslint-config-airbnb-base": "^1.0.4",
22
+ "eslint-loader": "^1.3.0",
23
"eslint-plugin-html": "^1.4.0",
24
"eslint-plugin-import": "^1.6.1",
25
"extract-text-webpack-plugin": "^1.0.1",
app/templates/_webpack.config.js
@@ -12,6 +12,13 @@ module.exports = {
12
extensions: ['', '.js', '.vue']
13
},
14
module: {
15
+ preLoaders: [
16
+ {
17
+ test: /\.(vue|js)$/,
18
+ loader: 'eslint',
+ exclude: /node_modules/
+ }
+ ],
loaders: [
{
test: /\.vue$/,
0 commit comments