UNPKG

@phoenix-plugin-registry/jshint.configurator

Version:

Enables configuration of JSHint options. Reads from current document's inline configuration directive or from '.jshintrc' configuration file. Extract JSHint options to JSON format.

34 lines (21 loc) 1.48 kB
JSHint Configurator =================== [Brackets](http://brackets.io/) extension that enables configuration of [JSHint](http://www.jshint.com/) options. **NOTE:** This extensions assumes you have a JSHint plugin installed. #####Suggested JSHint plugins: - @cfjedimaster's [brackets-jshint](https://github.com/cfjedimaster/brackets-jshint) - @manchagnu's [Brackets-InteractiveLinter](https://github.com/MiguelCastillo/Brackets-InteractiveLinter) ## Installation #### Git Clone 1. Under main menu select **Help > Show Extensions Folder** 2. Git clone this repository inside the folder user. #### Extension Manager 1. Under main menu select **File > Extension Manager...** 2. Search for "JSHint Configurator" 3. Click "Install" ## How to use Under main menu select **Edit > JSHint Configurator** or use the shortcut **"CTRL+ALT+Shift+J"** to open the JSHint Configurator dialog. ![Screenshot 1](https://github.com/georapbox/brackets-JSHint-Configurator/blob/master/screenshots/screen-1.png) Check the desired options, click the **'Insert directive to document'** button... and Voila! ![Screenshot 2](https://github.com/georapbox/brackets-JSHint-Configurator/blob/master/screenshots/screen-2.png) **Hint:** The configurator always inserts the JSHint directive in the first line of the document. Therefore, every time the dialog opens, it checks if the first line of the document has a JSHint directive and populates the appropriate options.