# Question: About jshint:editor of grunt

**URL:** <https://discourse.nodered.org/t/question-about-jshint-editor-of-grunt/20519>\
**Category:** Core Development\
**Created:** [17 January 2020 23:40 UTC](https://discourse.nodered.org/t/question-about-jshint-editor-of-grunt/20519 "2020-01-17T23:40:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![okhiroyuki](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/okhiroyuki/32/15056_2.png) [@okhiroyuki](https://discourse.nodered.org/u/okhiroyuki)\
**Post date:** [17 January 2020 23:40 UTC](https://discourse.nodered.org/t/question-about-jshint-editor-of-grunt/20519/1 "2020-01-17T23:40:42Z")

</div>

Hello.  
I have a question.

grunt's jshint:editor seems to look at the old folder structure.

> <https://github.com/node-red/node-red/blob/ee6f6ae39106350d9d1552409407bc2e62362554/Gruntfile.js#L102>

There are other similar issues, but I especially focused on jshint:editor because of the default grunt task.

Is this a known issue?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [17 January 2020 23:52 UTC](https://discourse.nodered.org/t/question-about-jshint-editor-of-grunt/20519/2 "2020-01-17T23:52:00Z")

</div>

Hi

I was aware the jshint task had stopped working on the editor files, but hadn't got around to looking at why. You are quite right - looks like the `jshint:editor` task does need updating to `packages/node_modules/@node-red/editor-client/src/js/**/*.js`.

With that in place, the task then does find a small number of linting issues that have crept in. Nothing serious, but they need tidying up. Let me know if you want to take a look at them, otherwise I'll add it to my todo list.

---

<div class="post-metadata">

**Author:** ![okhiroyuki](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/okhiroyuki/32/15056_2.png) [@okhiroyuki](https://discourse.nodered.org/u/okhiroyuki)\
**Post date:** [18 January 2020 00:03 UTC](https://discourse.nodered.org/t/question-about-jshint-editor-of-grunt/20519/3 "2020-01-18T00:03:21Z")

</div>

It's not serious at all, so I'm glad it will be fixed in the future.  
Thank you very much.
