chore(cloudcmd) lint: numeric separators

This commit is contained in:
coderaiser 2020-09-06 21:25:40 +03:00
parent c61681c331
commit 0a7c52c75d
3 changed files with 4 additions and 4 deletions

View file

@ -46,7 +46,7 @@ const rules = [{
use: {
loader: 'url-loader',
options: {
limit: 100000,
limit: 100_000,
},
},
}];

View file

@ -110,8 +110,8 @@ module.exports = {
},
plugins,
performance: {
maxEntrypointSize: 600000,
maxAssetSize: 600000,
maxEntrypointSize: 600_000,
maxAssetSize: 600_000,
},
};

View file

@ -63,7 +63,7 @@ module.exports = async (options, config) => {
configManager: config,
}));
if (port < 0 || port > 65535)
if (port < 0 || port > 65_535)
return exitPort('port number could be 1..65535, 0 means any available port');
const listen = promisifySelf(server.listen, server);