Skip to content

Instantly share code, notes, and snippets.

@bwinton
Created September 5, 2013 15:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bwinton/6452004 to your computer and use it in GitHub Desktop.
Save bwinton/6452004 to your computer and use it in GitHub Desktop.
The best header (license and JSHint options) I know of for Mozilla Add-on SDK code.
/*! This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/*jshint forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true,
strict:true, undef:true, unused:true, curly:true, browser:true, white:true,
moz:true, esnext:false, indent:2, maxerr:50, devel:true, node:true, boss:true,
globalstrict:true, nomen:false, newcap:false */
"use strict";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment