-
Notifications
You must be signed in to change notification settings - Fork 614
Conversation
(function () { | ||
"use strict"; | ||
|
||
var util = require("util"), | ||
server = require("./Server"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this change?
@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.json
file so I could change the prefered linter. (And remove the inline jslint declarations)I've added an
.eslint.json
file undertasks/
because Grunt isn't compatible with the ruleno-invalid-this
.There should not be any change in behaviour.