fix: ignore "no-useless-escape"

This commit is contained in:
Curve 2024-04-18 13:15:20 +02:00
parent a330aaa1bc
commit 59b35bb56d
No known key found for this signature in database
GPG key ID: D4A4F11797B83017

View file

@ -11,6 +11,7 @@ addPatch({
{
find: "lastOutputSystemDevice.justChanged",
replacement: {
// eslint-disable-next-line no-useless-escape
match: /(\i)\.default\.getState\(\).neverShowModal/,
replace: "$& || $self.shouldIgnore($1)"
}