mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Fix lint
This commit is contained in:
@@ -1112,7 +1112,7 @@
|
|||||||
"rule": "jQuery-$(",
|
"rule": "jQuery-$(",
|
||||||
"path": "js/views/settings_view.js",
|
"path": "js/views/settings_view.js",
|
||||||
"line": " this.$('.sync').removeAttr('disabled');",
|
"line": " this.$('.sync').removeAttr('disabled');",
|
||||||
"lineNumber": 272,
|
"lineNumber": 281,
|
||||||
"reasonCategory": "usageTrusted",
|
"reasonCategory": "usageTrusted",
|
||||||
"updated": "2020-09-11T17:24:56.124Z",
|
"updated": "2020-09-11T17:24:56.124Z",
|
||||||
"reasonDetail": "Static selector argument"
|
"reasonDetail": "Static selector argument"
|
||||||
@@ -1130,7 +1130,7 @@
|
|||||||
"rule": "jQuery-$(",
|
"rule": "jQuery-$(",
|
||||||
"path": "js/views/settings_view.js",
|
"path": "js/views/settings_view.js",
|
||||||
"line": " this.$('.sync').text(i18n('syncing'));",
|
"line": " this.$('.sync').text(i18n('syncing'));",
|
||||||
"lineNumber": 276,
|
"lineNumber": 285,
|
||||||
"reasonCategory": "usageTrusted",
|
"reasonCategory": "usageTrusted",
|
||||||
"updated": "2020-09-11T17:24:56.124Z",
|
"updated": "2020-09-11T17:24:56.124Z",
|
||||||
"reasonDetail": "Static selector argument"
|
"reasonDetail": "Static selector argument"
|
||||||
@@ -1148,7 +1148,7 @@
|
|||||||
"rule": "jQuery-$(",
|
"rule": "jQuery-$(",
|
||||||
"path": "js/views/settings_view.js",
|
"path": "js/views/settings_view.js",
|
||||||
"line": " this.$('.sync_failed').show();",
|
"line": " this.$('.sync_failed').show();",
|
||||||
"lineNumber": 288,
|
"lineNumber": 297,
|
||||||
"reasonCategory": "usageTrusted",
|
"reasonCategory": "usageTrusted",
|
||||||
"updated": "2020-09-11T17:24:56.124Z",
|
"updated": "2020-09-11T17:24:56.124Z",
|
||||||
"reasonDetail": "Static selector argument"
|
"reasonDetail": "Static selector argument"
|
||||||
@@ -13318,4 +13318,4 @@
|
|||||||
"reasonCategory": "falseMatch",
|
"reasonCategory": "falseMatch",
|
||||||
"updated": "2020-09-08T23:07:22.682Z"
|
"updated": "2020-09-08T23:07:22.682Z"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -344,6 +344,7 @@ async function main(): Promise<void> {
|
|||||||
}
|
}
|
||||||
// recreate this rule since it has g flag, and carries local state
|
// recreate this rule since it has g flag, and carries local state
|
||||||
if (rule.expression) {
|
if (rule.expression) {
|
||||||
|
// eslint-disable-next-line no-param-reassign
|
||||||
rule.regex = new RegExp(rule.expression, 'g');
|
rule.regex = new RegExp(rule.expression, 'g');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user