bdkjones/CodeKit — Issue #214: Ability to specify arbitrary globals
Author: bmoeskau
Created: 2012-02-20 07:40:33+00:00
State: open

Feature request: Would be very helpful to be able to specify arbitrary globals, as CodeKit / JSHint can never hope to list all possibilities. As one example, I use [Ext JS](http://sencha.com), plus write my own framework [Extensible](http://ext.ensible.com), both of which expose their own globals (`Ext` and `Extensible`). JSHint obviously supports this through custom comments (e.g. `/*global $:false, jQuery:false */`) -- however it would be impractical to have to go through every source file and add such comments manually (I have hundreds). Would be super helpful if CodeKit could expose such an option in preferences to specify custom globals for JS[L/H]int. Thanks!