mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Remove overzealous linter fixes
This commit is contained in:
parent
417835fcca
commit
87806b8a67
@ -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,
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user