imagecolors
Version:
Use a combination of color quantization algorithms and human fiddling to get human perceivable colors out of an image.
29 lines (26 loc) • 1.89 kB
Plain Text
{
"bitwise" : true, // if bitwise operators should not be allowed
"browser" : false, // if the standard browser globals should be predefined
"debug" : false, // if debugger statements should be allowed
"devel" : false, // if logging should be allowed (console, alert, etc.)
"eqeqeq" : true, // if === should be required
"es5" : false, // if ES5 syntax should be allowed
"evil" : false, // if eval should be allowed
"forin" : false, // if for in statements must filter
"immed" : true, // if immediate invocations must be wrapped in parens
"laxbreak" : false, // if line breaks should not be checked
"newcap" : true, // if constructor names must be capitalized
"nomen" : false, // if names should be checked
"onevar" : true, // if only one var statement per function should be allowed
"passfail" : false, // if the scan should stop on first error
"plusplus" : true, // if increment/decrement should not be allowed
"regexp" : true, // if the . should not be allowed in regexp literals
"rhino" : false, // if the Rhino environment globals should be predefined
"undef" : true, // if variables should be declared before used
"strict" : false, // require the "use strict"; pragma
"sub" : false, // if all forms of subscript notation are tolerated
"white" : false, // if strict whitespace rules apply
"indent" : 4, // set the expected indentation level
// the names of predefined global variables: the following are defined by nodejs itself
"predef" : ["beforeEach", "describe", "it", "exports", "module", "require", "process", "__filename", "__dirname", "global", "console", "setInterval", "setTimeout", "clearInterval", "clearTimeout"]
}