[build] upgrade eslint to 9.37.0 (#88)
Co-authored-by: tobi <tobi.smethurst@protonmail.com> Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/88 Co-authored-by: Zoë Bijl <moiety@noreply.codeberg.org> Co-committed-by: Zoë Bijl <moiety@noreply.codeberg.org>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
// Note: You must restart bin/webpack-dev-server for changes to take effect
|
||||
|
||||
const { merge } = require('webpack-merge');
|
||||
const { merge } = require("webpack-merge");
|
||||
|
||||
const { settings, output } = require('./configuration');
|
||||
const sharedConfig = require('./shared');
|
||||
const { settings, output } = require("./configuration");
|
||||
const sharedConfig = require("./shared");
|
||||
|
||||
const watchOptions = {};
|
||||
|
||||
@@ -15,9 +15,9 @@ if (process.env.VAGRANT) {
|
||||
}
|
||||
|
||||
module.exports = merge(sharedConfig, {
|
||||
mode: 'development',
|
||||
mode: "development",
|
||||
cache: true,
|
||||
devtool: 'eval-cheap-module-source-map',
|
||||
devtool: "eval-cheap-module-source-map",
|
||||
|
||||
stats: {
|
||||
errorDetails: true,
|
||||
@@ -38,7 +38,7 @@ module.exports = merge(sharedConfig, {
|
||||
},
|
||||
headers: settings.dev_server.headers,
|
||||
client: {
|
||||
logging: 'none',
|
||||
logging: "none",
|
||||
overlay: settings.dev_server.overlay,
|
||||
},
|
||||
static: {
|
||||
@@ -58,7 +58,7 @@ module.exports = merge(sharedConfig, {
|
||||
modules: false,
|
||||
moduleTrace: false,
|
||||
},
|
||||
writeToDisk: filePath => /ocr/.test(filePath)
|
||||
}
|
||||
writeToDisk: filePath => /ocr/.test(filePath),
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user