finish linting client

This commit is contained in:
Matteo Pagliazzi
2019-10-13 18:04:04 +02:00
parent c1ea91803c
commit a0e5a56bf2
105 changed files with 804 additions and 316 deletions

View File

@@ -8,7 +8,7 @@ const pkg = require('./package.json');
const configFile = path.join(path.resolve(__dirname, '../../config.json'));
// TODO abstract from server
setupNconf(configFile);
setupNconf(configFile, nconf);
const DEV_BASE_URL = nconf.get('BASE_URL');
@@ -100,6 +100,16 @@ module.exports = {
{ convertPathData: { noSpaceAfterFlags: false } },
],
});
// Disable eslint warnings when running the server
config.module
.rule('eslint')
.use('eslint-loader')
.loader('eslint-loader')
.tap(options => {
options.quiet = true;
return options;
});
},
devServer: {