se-hub/templates/js/libs/angular-chart.js-0.7.2/.jshintrc

23 lines
1 KiB
Plaintext

{
"strict" : true, // true: Requires all functions run in ES5 Strict Mode
"undef" : true, // true: Require all non-global variables to be declared (prevents global leaks)
"unused" : true, // true: Require all defined variables be used
"noempty" : true, // Prohibit use of empty blocks
"trailing" : true, // Prohibit trailing whitespaces.
"white" : false, // Check against strict whitespace and indentation rules.
"indent" : 2, // {int} Number of spaces to use for indentation
"newcap" : true, // true: Require capitalization of all constructor functions e.g. `new F()`
"quotmark" : "single", // Quotation mark consistency
"-W058" : true, // Missing '()' invoking a constructor
"browser" : true, // Standard browser globals e.g. `window`, `document`.
"predef" : [ // Custom globals.
"angular",
"G_vmlCanvasManager",
"require",
"console",
"Chart",
"define",
"module"
]
}