diff --git a/docs/examples.md b/docs/examples.md index e577340..2aa36b5 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -221,6 +221,7 @@ const isPlaying = stack.playing; // Or get a string value for the current state. const currentState = stack.state; +// eslint-disable-next-line no-console stack.on('state', (currentState) => console.log(currentState)); ``` @@ -465,6 +466,7 @@ if (sound) { }); sound.on('ended', ({id}) => { + // eslint-disable-next-line no-console console.log(`Sound ${id} has been stopped at ${completion} completion`); }); }