156:ae3c941a4ebb
Anton Shestakov <av6@dwimlabs.net>, Tue, 31 Oct 2017 12:44:53 +0800
Makefile: add a prologue with useful flags and options

previous change 149:344b03642d02

.jshintrc

Permissions: -rw-r--r--

Other formats: Feeds:
{
// Enforcing
"curly" : true, // true: Require {} for every new block or scope
"eqeqeq" : true, // true: Require triple equals (===) for comparison
"forin" : true, // true: Require filtering for..in loops with obj.hasOwnProperty()
"freeze" : true, // true: prohibits overwriting prototypes of native objects such as Array, Date etc.
"latedef" : true, // true: Require variables/functions to be defined before being used
"newcap" : true, // true: Require capitalization of all constructor functions e.g. `new F()`
"quotmark" : "single", // Quotation mark consistency:
// false : do nothing (default)
// true : ensure whatever is used is consistent
// "single" : require single quotes
// "double" : require double quotes
// Custom Globals
"globals" : {"_": false, "Backbone": false}
}