# How to un-disable error checking for function nodes?

**URL:** <https://discourse.nodered.org/t/how-to-un-disable-error-checking-for-function-nodes/67614>\
**Category:** General\
**Created:** [12 September 2022 14:28 UTC](https://discourse.nodered.org/t/how-to-un-disable-error-checking-for-function-nodes/67614 "2022-09-12T14:28:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hazymat](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hazymat/32/108159_2.png) [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Post date:** [12 September 2022 14:28 UTC](https://discourse.nodered.org/t/how-to-un-disable-error-checking-for-function-nodes/67614/1 "2022-09-12T14:28:59Z")

</div>

Since upgrading to 3.0.2 and finally changing to Monaco in my settings.json, I now find myself with approximately one trillion functions nodes that I hacked together badly, and when I close them they now give errors. Mainly because I haven't declared variables properly.

As I don't have time to re-write them right this second, I have been duly hitting the keyboard shortcut Ctrl-. then "Disable checking for this file", just so it doesn't give me errors at deploy time.

How can I go about un-disabling checking for each function node, should I wish to fix the error of my ways?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [12 September 2022 15:08 UTC](https://discourse.nodered.org/t/how-to-un-disable-error-checking-for-function-nodes/67614/2 "2022-09-12T15:08:25Z")

</div>

> [@hazymat](#):
>
> How can I go about un-disabling checking for each function node

remove the comment it makes at the top of the function

![chrome_421WTjnYNC](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/6/967d8ad013a7e62bb535e6b61e1fe565dea230cb.gif)

Then checking will resume.

---

<div class="post-metadata">

**Author:** ![hazymat](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hazymat/32/108159_2.png) [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Post date:** [12 September 2022 16:30 UTC](https://discourse.nodered.org/t/how-to-un-disable-error-checking-for-function-nodes/67614/3 "2022-09-12T16:30:28Z")

</div>

I noticed it generated a similar comment

> //@ts-ignore

when ignoring per-line errors, but didn't think to look at the top of the file, and was clearly in a rush to post, so thanks 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [26 September 2022 16:30 UTC](https://discourse.nodered.org/t/how-to-un-disable-error-checking-for-function-nodes/67614/4 "2022-09-26T16:30:55Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
