Remove ESLint no-continue rule
This commit is contained in:
parent
6a026c6439
commit
184f7e1bf3
6 changed files with 2 additions and 8 deletions
|
@ -43,6 +43,8 @@ const rules = {
|
|||
{ avoidEscape: true, allowTemplateLiterals: false },
|
||||
],
|
||||
|
||||
'no-continue': 'off',
|
||||
|
||||
// Prettier overrides:
|
||||
'arrow-parens': 'off',
|
||||
'function-paren-newline': 'off',
|
||||
|
|
|
@ -184,7 +184,6 @@ async function importConversationsFromJSON(conversations, options) {
|
|||
if (haveConversationAlready) {
|
||||
skipCount += 1;
|
||||
count += 1;
|
||||
// eslint-disable-next-line no-continue
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -694,7 +693,6 @@ async function exportConversation(conversation, options = {}) {
|
|||
|
||||
// skip message if it is disappearing, no matter the amount of time left
|
||||
if (message.expireTimer || message.messageTimer || message.isViewOnce) {
|
||||
// eslint-disable-next-line no-continue
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
@ -480,7 +480,6 @@ export class ConversationController {
|
|||
|
||||
byE164[e164] = conversation;
|
||||
|
||||
// eslint-disable-next-line no-continue
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
@ -405,7 +405,6 @@ export class Timeline extends React.PureComponent<Props, State> {
|
|||
const { id, offsetTop, offsetHeight } = child;
|
||||
|
||||
if (!id) {
|
||||
// eslint-disable-next-line no-continue
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -425,7 +424,6 @@ export class Timeline extends React.PureComponent<Props, State> {
|
|||
const { offsetTop, id } = child;
|
||||
|
||||
if (!id) {
|
||||
// eslint-disable-next-line no-continue
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
@ -827,7 +827,6 @@ async function integrateGroupChanges({
|
|||
const { groupChanges } = changes[i];
|
||||
|
||||
if (!groupChanges) {
|
||||
// eslint-disable-next-line no-continue
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -841,7 +840,6 @@ async function integrateGroupChanges({
|
|||
window.log.warn(
|
||||
'integrateGroupChanges: item had neither groupState nor groupChange. Skipping.'
|
||||
);
|
||||
// eslint-disable-next-line no-continue
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
/* eslint-disable no-await-in-loop */
|
||||
/* eslint-disable camelcase */
|
||||
/* eslint-disable no-param-reassign */
|
||||
/* eslint-disable no-continue */
|
||||
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
/* eslint-disable @typescript-eslint/ban-types */
|
||||
|
|
Loading…
Reference in a new issue