ignore some lint warnings
This commit is contained in:
parent
fddf1c40dc
commit
80e9f129d8
6 changed files with 15 additions and 5 deletions
|
@ -73,7 +73,8 @@ module.exports = function(state, emit) {
|
|||
return;
|
||||
}
|
||||
if (file.size > MAXFILESIZE) {
|
||||
window.alert(state.translate('fileTooBig', { size: bytes(MAXFILESIZE) }));
|
||||
// eslint-disable-next-line no-alert
|
||||
alert(state.translate('fileTooBig', { size: bytes(MAXFILESIZE) }));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue