UNPKG

tune-reporting

Version:
49 lines (45 loc) 2.69 kB
/* * This is the default options file for nodelint * * Changes released into the Public Domain by tav <tav@espians.com> * Options support added by Corey Hart <corey@codenothing.com> */ /*jslint indent: 4*/ var options = { anon: false, // if the space may be omitted in anonymous function declarations bitwise: true, // if bitwise operators should be allowed browser: false, // if the standard browser globals should be predefined cap: false, // if upper case HTML should be allowed 'continue': false, // if the continuation statement should be tolerated css: false, // if CSS workarounds should be tolerated debug: false, // if debugger statements should be allowed devel: false, // if logging should be allowed (console, alert, etc.) eqeq: false, // if == should be allowed es5: false, // if ES5 syntax should be allowed evil: false, // if eval should be allowed forin: false, // if for in statements need not filter fragment: false, // if HTML fragments should be allowed indent: 2, // the indentation factor maxerr: 50, // the maximum number of errors to allow maxlen: 100, // the maximum length of a source line newcap: false, // if constructor names capitalization is ignored node: true, // if Node.js globals should be predefined nomen: true, // if names may have dangling _ on: false, // if HTML event handlers should be allowed passfail: false, // if the scan should stop on first error plusplus: true, // if increment/decrement should be allowed properties: false, // if all property names must be declared with /*properties*/ regexp: true, // if the . should be allowed in regexp literals // TODO: fix this later rhino: false, // if the Rhino environment globals should be predefined undef: false, // if variables can be declared out of order unparam: false, // if unused parameters should be tolerated sloppy: true, // if the 'use strict'; pragma is optional // TODO: fix this later stupid: true, // if really stupid practices are tolerated // TODO: fix this later sub: false, // if all forms of subscript notation are tolerated vars: false, // if multiple var statements per function should be allowed white: false, // if sloppy whitespace is tolerated widget: false, // if the Yahoo Widgets globals should be predefined windows: false, // if MS Windows-specific globals should be predefined // the names of predefined global variables: "predef": [] };