mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
refactor(server): keep three suppressed lines whole so Prettier cannot move them past their directive
Prettier wraps the emoji regex onto the line after its declaration and spreads two any-cast lines in the plugin tests over several lines, which would leave the casts outside the eslint-disable-next-line above them. The regex directive now sits on the line right before the literal, the dev-link controller takes never instead of any for the collaborators it ignores, and the supervisor test reaches the private kill/onExit through one cast.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
"no-empty": 6
|
||||
},
|
||||
"suppressed": {
|
||||
"@typescript-eslint/no-explicit-any": 128,
|
||||
"@typescript-eslint/no-explicit-any": 124,
|
||||
"@typescript-eslint/no-require-imports": 20,
|
||||
"no-control-regex": 7,
|
||||
"no-misleading-character-class": 1
|
||||
|
||||
Reference in New Issue
Block a user