From 572ef0743c55275b3e3559f3aafa2abd52b3b7aa Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Tue, 29 Jan 2013 22:51:42 -0800 Subject: [PATCH] added jshint --- JSLintOptions.xml | 709 ++++++++++++++++++++++++++++++++++++++++++++++ NzbDrone.sln | 8 + 2 files changed, 717 insertions(+) create mode 100644 JSLintOptions.xml diff --git a/JSLintOptions.xml b/JSLintOptions.xml new file mode 100644 index 000000000..334820aed --- /dev/null +++ b/JSLintOptions.xml @@ -0,0 +1,709 @@ + + + true + Warning + false + Task + true + false + + + + + adsafe + + + false + + + + + anon + + + false + + + + + asi + + + false + + + + + bitwise + + + true + + + + + bitwise. + + + false + + + + + boss + + + false + + + + + browser + + + false + + + + + camelcase + + + true + + + + + cap + + + false + + + + + continue + + + false + + + + + couch + + + false + + + + + css + + + false + + + + + curly + + + true + + + + + debug + + + false + + + + + devel + + + true + + + + + dojo + + + false + + + + + eqeqeq + + + true + + + + + eqeq + + + false + + + + + eqnull + + + false + + + + + es5 + + + false + + + + + esnext + + + false + + + + + evil + + + false + + + + + expr + + + false + + + + + forin + + + false + + + + + forin. + + + false + + + + + fragment + + + false + + + + + funcscope + + + false + + + + + globalstrict + + + true + + + + + immed + + + true + + + + + iterator + + + false + + + + + jquery + + + true + + + + + lastsemic + + + false + + + + + latedef + + + true + + + + + laxbreak + + + false + + + + + laxcomma + + + false + + + + + loopfunc + + + false + + + + + mootools + + + false + + + + + multistr + + + false + + + + + newcap + + + true + + + + + newcap. + + + false + + + + + noarg + + + true + + + + + node + + + false + + + + + noempty + + + true + + + + + nonew + + + true + + + + + nomen + + + true + + + + + nomen. + + + false + + + + + nonstandard + + + false + + + + + on + + + false + + + + + onecase + + + false + + + + + onevar + + + false + + + + + passfail + + + false + + + + + plusplus + + + true + + + + + plusplus. + + + false + + + + + proto + + + false + + + + + prototypejs + + + false + + + + + regexp + + + true + + + + + regexp. + + + false + + + + + regexdash + + + false + + + + + rhino + + + false + + + + + safe + + + false + + + + + scripturl + + + false + + + + + shadow + + + false + + + + + sloppy + + + true + + + + + smarttabs + + + true + + + + + stupid + + + true + + + + + sub + + + false + + + + + supernew + + + false + + + + + strict + + + true + + + + + trailing + + + false + + + + + todo + + + false + + + + + undef + + + true + + + + + undef. + + + false + + + + + unused + + + true + + + + + unparam + + + false + + + + + validthis + + + false + + + + + vars + + + false + + + + + white + + + true + + + + + white. + + + false + + + + + widget + + + false + + + + + windows + + + false + + + + + withstmt + + + false + + + + + worker + + + false + + + + + wsh + + + false + + + + + yui + + + false + + + + false + + 150 + + + + + Single + JSHint + false + + NzbDrone + Backbone + _ + document + window + + + JS + JS + false + /*ignore jslint start*/ + /*ignore jslint end*/ + //ignore jslint + true + \ No newline at end of file diff --git a/NzbDrone.sln b/NzbDrone.sln index ab85871ce..4667da249 100644 --- a/NzbDrone.sln +++ b/NzbDrone.sln @@ -55,7 +55,15 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NzbDrone.Console", "NzbDron EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NzbDrone.Services.Api", "NzbDrone.Services.Api\NzbDrone.Services.Api.csproj", "{A675DE45-D30A-4CAC-991A-34DA56947DD7}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E0BC607C-90DC-4B3B-A2FB-7DC5B45338A4}" + ProjectSection(SolutionItems) = preProject + JSLintOptions.xml = JSLintOptions.xml + EndProjectSection +EndProject Global + GlobalSection(JSLint) = preSolution + SolutionConfigurationLocation = JSLintOptions.xml + EndGlobalSection GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Debug|Mixed Platforms = Debug|Mixed Platforms