Skip to content

Commit

Permalink
closed #48 - remove eslint-loader
Browse files Browse the repository at this point in the history
  • Loading branch information
Eoksni committed Jun 8, 2017
1 parent 4167d19 commit 0f459a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 26 deletions.
6 changes: 0 additions & 6 deletions frontend/test.webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ module.exports = {
],
module: {
loaders: [
{
enforce: "pre",
test: /\.js$/,
exclude: /node_modules/,
loader: "eslint-loader",
},
{
// so that inject loader works correctly
test: /\.js$/,
Expand Down
22 changes: 3 additions & 19 deletions frontend/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,32 +57,16 @@ module.exports = {
},
module: {
loaders: [
// the url-loader uses DataUrls.
// the file-loader emits files.
// the url-loader uses DataUrls.
// the file-loader emits files.
// for font-awesome
{ test: /\.(woff2?|ttf|eot|svg)$/, loader: 'url-loader' },
{
test: /\.vue$/,
exclude: /node_modules/,
loader: 'vue-loader',
options: {
preLoaders: {
js: 'eslint-loader'
}
}
},
{
test: /\.vue$/,
include: /node_modules/,
loader: 'vue-loader'
},
{ test: /\.css$/, use: ['style-loader', 'css-loader'] },
{
enforce: "pre",
test: /\.js$/,
exclude: /node_modules/,
loader: "eslint-loader"
},
{ test: /\.css$/, use: ['style-loader', 'css-loader'] }
]
}
};
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"optionalDependencies": {
"@types/jasmine": "^2.5.47",
"eslint": "^3.19.0",
"eslint-loader": "^1.7.1",
"eslint-plugin-webdriverio": "^1.0.1",
"inject-loader": "^3.0.0",
"jasmine-core": "^2.5.2",
Expand Down

0 comments on commit 0f459a7

Please sign in to comment.