Remove overzealous linter fixes

This commit is contained in:
Germain Souquet 2021-04-22 12:22:10 +01:00
parent 417835fcca
commit 87806b8a67

View file

@ -183,8 +183,8 @@ module.exports = (env, argv) => {
loader: 'postcss-loader',
ident: 'postcss',
options: {
"sourceMap": true,
"plugins": () => [
sourceMap: true,
plugins: () => [
// Note that we use significantly fewer plugins on the plain
// CSS parser. If we start to parse plain CSS, we end with all
// kinds of nasty problems (like stylesheets not loading).
@ -211,7 +211,7 @@ module.exports = (env, argv) => {
// up with broken CSS.
require('postcss-preset-env')({stage: 3, browsers: 'last 2 versions'}),
],
"parser": "postcss-scss",
parser: "postcss-scss",
"local-plugins": true,
},
},
@ -232,8 +232,8 @@ module.exports = (env, argv) => {
loader: 'postcss-loader',
ident: 'postcss',
options: {
"sourceMap": true,
"plugins": () => [
sourceMap: true,
plugins: () => [
// Note that we use slightly different plugins for SCSS.
require('postcss-import')(),
@ -250,7 +250,7 @@ module.exports = (env, argv) => {
// up with broken CSS.
require('postcss-preset-env')({stage: 3, browsers: 'last 2 versions'}),
],
"parser": "postcss-scss",
parser: "postcss-scss",
"local-plugins": true,
},
},
@ -423,9 +423,6 @@ module.exports = (env, argv) => {
hot: false,
inline: false,
},
stats: {
warnings: false,
},
};
};