Conversation
appshell/node-core/DomainManager.js
Outdated
|
@zaggino They are both unused. |
|
Yep, but even requiring them can have side-effects, like parts of the module being executed, event listeners attached and so on. Are you sure not requiring them won't break anything? Instead of |
|
Seems finished to me |
|
I've updated grunt-eslint to the latest version, enabled the |
|
@ficristo I tried playing with this branch. There is one side effect because of this change. After building brackets-shell with this branch and opening brackets-shell source folder, with the built shell, JS hints don't appear anymore. The below snapshot is with the shell built from the release branch. Also I have observed that if I open any file under node-core with any other project, JSHints kick in. |
|
I cannot replicate the issue on the node-core side. |
|
I've reintroduced JSLint so we can merge this. |
|
Gone through it, LGTM |



Similar work to the one in Brackets.
I've added a
.bracket.jsonfile so I could change the prefered linter. (And remove the inline jslint declarations)I've added an
.eslint.jsonfile undertasks/because Grunt isn't compatible with the ruleno-invalid-this.There should not be any change in behaviour.