I am passing a twig object to javascript via script tags in a .html.twig file, and VS Code complains that "Property assignment expected. js [17, 38]". Is it possible to turn this off completely for .html.twig-files or perhaps turn off checking altogether? I am using ESLint extension in any case.
<script>
...
window.PROPS = {{ props|json_encode|raw }};
...
</script>
(edit) Just to clarify, ESLint is not responsible for these problem-messages. I can turn off the ESLint extension (and reload the window); the messages remain.

