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