-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Restore 'browser: false' to Brackets core's JSLint setup #8658
Conversation
… how we had it before 834c4e9 in Sprint 37). Fix a few JSLint errors that snuck in because of this, plus some additional errors in ExtensionLoader that seem to have come from the Themes work in 0.42
|
@peterflynn But, with the exception of our node code, most of Brackets runs in a browser environment where |
|
@dangoor We have it here in the old coding standards: https://github.com/adobe/brackets/wiki/Brackets-Coding-Conventions#globals. I think the main issue is that JSLint's I'd be ok with adding |
|
Looks like we could add @dangoor How far do you think we should take that? We could also add |
|
@peterflynn |
|
@peterflynn Oh right, I like the idea of setting |
|
@peterflynn LGTM. Is |
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 are we removing window from this one?
|
@peterflynn I really like this idea... It will remove most the jslint definitions in source files, which I personally think isn't the best place to add those settings. Why haven't we merged this in yet? |
|
In #11693 I am converting Brackets core code to ESLint. |
|
Fixed in #12661 |
Fix Brackets project settings so
browser: trueis not set (which is how we had it before 834c4e9 in Sprint 37). Fix a few JSLint errors that snuck in because of this, plus some additional errors in ExtensionLoader that seem to have come from the Themes work in 0.42