Merged in feat/sw-3596-console (pull request #3100)

feat(SW-3596): added lint rule for no console.log. Use logger instead.

* feat(SW-3596): added lint rule for no console.log. Use logger instead.


Approved-by: Joakim Jäderberg
This commit is contained in:
Linus Flood
2025-11-07 08:14:16 +00:00
parent 2d237b8d14
commit 1a24eb68c7
18 changed files with 43 additions and 27 deletions

View File

@@ -14,6 +14,7 @@ export function DebugButton() {
const handleClick = () => {
const allRoomAvailability = getAllRoomAvailability(context)
const allRoomPackages = getAllRoomPackages(context)
// eslint-disable-next-line no-console
console.log("%c SelectRateContext: ", "background: #AD0015; color: #FFF", {
...context,
...allRoomAvailability,