Skip to content

Commit 87806b8

Browse files
committed
Remove overzealous linter fixes
1 parent 417835f commit 87806b8

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

webpack.config.js

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ module.exports = (env, argv) => {
183183
loader: 'postcss-loader',
184184
ident: 'postcss',
185185
options: {
186-
"sourceMap": true,
187-
"plugins": () => [
186+
sourceMap: true,
187+
plugins: () => [
188188
// Note that we use significantly fewer plugins on the plain
189189
// CSS parser. If we start to parse plain CSS, we end with all
190190
// kinds of nasty problems (like stylesheets not loading).
@@ -211,7 +211,7 @@ module.exports = (env, argv) => {
211211
// up with broken CSS.
212212
require('postcss-preset-env')({stage: 3, browsers: 'last 2 versions'}),
213213
],
214-
"parser": "postcss-scss",
214+
parser: "postcss-scss",
215215
"local-plugins": true,
216216
},
217217
},
@@ -232,8 +232,8 @@ module.exports = (env, argv) => {
232232
loader: 'postcss-loader',
233233
ident: 'postcss',
234234
options: {
235-
"sourceMap": true,
236-
"plugins": () => [
235+
sourceMap: true,
236+
plugins: () => [
237237
// Note that we use slightly different plugins for SCSS.
238238

239239
require('postcss-import')(),
@@ -250,7 +250,7 @@ module.exports = (env, argv) => {
250250
// up with broken CSS.
251251
require('postcss-preset-env')({stage: 3, browsers: 'last 2 versions'}),
252252
],
253-
"parser": "postcss-scss",
253+
parser: "postcss-scss",
254254
"local-plugins": true,
255255
},
256256
},
@@ -423,9 +423,6 @@ module.exports = (env, argv) => {
423423
hot: false,
424424
inline: false,
425425
},
426-
stats: {
427-
warnings: false,
428-
},
429426
};
430427
};
431428

0 commit comments

Comments
 (0)