-
Notifications
You must be signed in to change notification settings - Fork 26
Conversation
@@ -7,7 +7,7 @@ const merge = require('webpack-merge') | |||
const baseWebpackConfig = require('./webpack.base.conf') | |||
const CopyWebpackPlugin = require('copy-webpack-plugin') | |||
const HtmlWebpackPlugin = require('html-webpack-plugin') | |||
const ExtractTextPlugin = require('extract-text-webpack-plugin') | |||
const MiniCssExtractPlugin = require('mini-css-extract-plugin') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'require' is not defined no-undef
@@ -3,6 +3,7 @@ const path = require('path') | |||
const utils = require('./utils') | |||
const config = require('../config') | |||
const vueLoaderConfig = require('./vue-loader.conf') | |||
const { VueLoaderPlugin } = require('vue-loader') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'require' is not defined no-undef
sourceMap: options.sourceMap | ||
sourceMap: options.sourceMap, | ||
plugins: (loader) => [ | ||
require('autoprefixer')({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'require' is not defined no-undef
client/build/utils.js
Outdated
@@ -25,13 +25,32 @@ exports.cssLoaders = function (options) { | |||
const postcssLoader = { | |||
loader: 'postcss-loader', | |||
options: { | |||
sourceMap: options.sourceMap | |||
sourceMap: options.sourceMap, | |||
plugins: (loader) => [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'loader' is defined but never used no-unused-vars
@@ -1,7 +1,7 @@ | |||
'use strict' | |||
const path = require('path') | |||
const config = require('../config') | |||
const ExtractTextPlugin = require('extract-text-webpack-plugin') | |||
const MiniCssExtractPlugin = require('mini-css-extract-plugin') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'require' is not defined no-undef
I spent a bit more time to update to Webpack 4. I hope it's finished now... References: - vuejs-templates/webpack#1280 - vuejs-templates/webpack#1369
0fe6f3a
to
673ee5a
Compare
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'started', started_at: 2.weeks.ago }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'planned', started_at: DateTime.now, planned_at: 1.day.ago }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'planned', started_at: DateTime.now, planned_at: 2.days.ago }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'planned', started_at: 1.week.ago, planned_at: 1.day.ago, planned_count: 3 }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Metrics/LineLength: Line is too long. [167/110]
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'started', started_at: 1.week.ago }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'started', started_at: 2.weeks.ago }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'planned', started_at: DateTime.now, planned_at: 1.day.ago }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'planned', started_at: DateTime.now, planned_at: 2.days.ago }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Metrics/LineLength: Line is too long. [152/110]
Style/DateTime: Prefer Date or Time over DateTime.
Rails/TimeZone: Do not use DateTime.now without zone. Use one of Time.zone.now, DateTime.current, DateTime.now.in_time_zone, DateTime.now.utc, DateTime.now.getlocal, DateTime.now.iso8601, DateTime.now.jisx0301, DateTime.now.rfc3339, DateTime.now.to_i, DateTime.now.to_f instead.
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'started', started_at: DateTime.now }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'started', started_at: 1.week.ago }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'started', started_at: 2.weeks.ago }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'planned', started_at: DateTime.now, planned_at: 1.day.ago }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Metrics/LineLength: Line is too long. [151/110]
Style/DateTime: Prefer Date or Time over DateTime.
Rails/TimeZone: Do not use DateTime.now without zone. Use one of Time.zone.now, DateTime.current, DateTime.now.in_time_zone, DateTime.now.utc, DateTime.now.getlocal, DateTime.now.iso8601, DateTime.now.jisx0301, DateTime.now.rfc3339, DateTime.now.to_i, DateTime.now.to_f instead.
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'started', started_at: DateTime.now }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'started', started_at: DateTime.now }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'started', started_at: 1.week.ago }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'started', started_at: 2.weeks.ago }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Metrics/LineLength: Line is too long. [127/110]
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'started', started_at: DateTime.now }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'started', started_at: DateTime.now }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'started', started_at: DateTime.now }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'started', started_at: 1.week.ago }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Metrics/LineLength: Line is too long. [126/110]
{ label: Faker::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'planned', started_at: 1.week.ago, planned_at: 1.day.ago, planned_count: 3 }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'started', started_at: DateTime.now }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'started', started_at: DateTime.now }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'started', started_at: DateTime.now }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Metrics/LineLength: Line is too long. [128/110]
Style/DateTime: Prefer Date or Time over DateTime.
Rails/TimeZone: Do not use DateTime.now without zone. Use one of Time.zone.now, DateTime.current, DateTime.now.in_time_zone, DateTime.now.utc, DateTime.now.getlocal, DateTime.now.iso8601, DateTime.now.jisx0301, DateTime.now.rfc3339, DateTime.now.to_i, DateTime.now.to_f instead.
{ label: Faker::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'planned', started_at: DateTime.now, planned_at: 2.days.ago }, | ||
{ label: Faker::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'planned', started_at: 1.week.ago, planned_at: 1.day.ago, planned_count: 3 }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'started', started_at: DateTime.now }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'started', started_at: DateTime.now }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Metrics/LineLength: Line is too long. [128/110]
Style/DateTime: Prefer Date or Time over DateTime.
Rails/TimeZone: Do not use DateTime.now without zone. Use one of Time.zone.now, DateTime.current, DateTime.now.in_time_zone, DateTime.now.utc, DateTime.now.getlocal, DateTime.now.iso8601, DateTime.now.jisx0301, DateTime.now.rfc3339, DateTime.now.to_i, DateTime.now.to_f instead.
{ label: Faker::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'planned', started_at: DateTime.now, planned_at: 1.day.ago }, | ||
{ label: Faker::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'planned', started_at: DateTime.now, planned_at: 2.days.ago }, | ||
{ label: Faker::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'planned', started_at: 1.week.ago, planned_at: 1.day.ago, planned_count: 3 }, | ||
{ label: Faker::TvShows::TwinPeaks.quote, user: user, order: order_sequence.pop, state: 'started', started_at: DateTime.now }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Layout/IndentArray: Use 2 spaces for indentation in an array, relative to the first position after the preceding left parenthesis.
Metrics/LineLength: Line is too long. [128/110]
Style/DateTime: Prefer Date or Time over DateTime.
Rails/TimeZone: Do not use DateTime.now without zone. Use one of Time.zone.now, DateTime.current, DateTime.now.in_time_zone, DateTime.now.utc, DateTime.now.getlocal, DateTime.now.iso8601, DateTime.now.jisx0301, DateTime.now.rfc3339, DateTime.now.to_i, DateTime.now.to_f instead.
sourceMap: options.sourceMap | ||
sourceMap: options.sourceMap, | ||
plugins: () => [ | ||
require('autoprefixer')({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'require' is not defined no-undef
@@ -1,7 +1,7 @@ | |||
'use strict' | |||
const path = require('path') | |||
const config = require('../config') | |||
const ExtractTextPlugin = require('extract-text-webpack-plugin') | |||
const MiniCssExtractPlugin = require('mini-css-extract-plugin') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'require' is not defined no-undef
Changes proposed in this pull request:
I spent a bit more time to update to Webpack 4. I hope it's finished
now...
References:
Pull request checklist:
master
** Additional information in the documentation.