mirror of
https://github.com/vector-im/element-web.git
synced 2024-09-09 22:55:12 +00:00
Remove overzealous linter fixes
This commit is contained in:
parent
417835fcca
commit
87806b8a67
1 changed files with 6 additions and 9 deletions
|
@ -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 a new issue