1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-25 04:02:48 +01:00

added jshint

This commit is contained in:
kay.one 2013-01-29 22:51:42 -08:00
parent bb024d6203
commit 572ef0743c
2 changed files with 717 additions and 0 deletions

709
JSLintOptions.xml Normal file
View File

@ -0,0 +1,709 @@
<?xml version="1.0"?>
<Options xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Enabled>true</Enabled>
<ErrorCategory>Warning</ErrorCategory>
<TODOEnabled>false</TODOEnabled>
<TODOCategory>Task</TODOCategory>
<RunOnBuild>true</RunOnBuild>
<CancelBuildOnError>false</CancelBuildOnError>
<JSLintOptions>
<BoolOptions2>
<item>
<key>
<string>adsafe</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>anon</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>asi</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>bitwise</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>bitwise.</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>boss</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>browser</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>camelcase</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>cap</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>continue</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>couch</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>css</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>curly</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>debug</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>devel</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>dojo</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>eqeqeq</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>eqeq</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>eqnull</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>es5</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>esnext</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>evil</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>expr</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>forin</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>forin.</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>fragment</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>funcscope</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>globalstrict</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>immed</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>iterator</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>jquery</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>lastsemic</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>latedef</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>laxbreak</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>laxcomma</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>loopfunc</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>mootools</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>multistr</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>newcap</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>newcap.</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>noarg</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>node</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>noempty</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>nonew</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>nomen</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>nomen.</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>nonstandard</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>on</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>onecase</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>onevar</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>passfail</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>plusplus</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>plusplus.</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>proto</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>prototypejs</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>regexp</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>regexp.</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>regexdash</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>rhino</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>safe</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>scripturl</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>shadow</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>sloppy</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>smarttabs</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>stupid</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>sub</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>supernew</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>strict</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>trailing</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>todo</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>undef</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>undef.</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>unused</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>unparam</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>validthis</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>vars</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>white</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>white.</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>widget</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>windows</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>withstmt</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>worker</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>wsh</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>yui</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
</BoolOptions2>
<ErrorOnUnused>false</ErrorOnUnused>
<IndentSize xsi:nil="true" />
<MaxLength>150</MaxLength>
<MaxComplexity xsi:nil="true" />
<MaxDepth xsi:nil="true" />
<MaxStatements xsi:nil="true" />
<MaxParams xsi:nil="true" />
<QuoteMark>Single</QuoteMark>
<SelectedLinter>JSHint</SelectedLinter>
<FindTodos>false</FindTodos>
<PreDefined>
<string>NzbDrone</string>
<string>Backbone</string>
<string>_</string>
<string>document</string>
<string>window</string>
</PreDefined>
</JSLintOptions>
<BuildFileTypes>JS</BuildFileTypes>
<SaveFileTypes>JS</SaveFileTypes>
<FakeCSSCharset>false</FakeCSSCharset>
<IgnoreErrorStart>/*ignore jslint start*/</IgnoreErrorStart>
<IgnoreErrorEnd>/*ignore jslint end*/</IgnoreErrorEnd>
<IgnoreErrorLine>//ignore jslint</IgnoreErrorLine>
<RunOnSave>true</RunOnSave>
</Options>

View File

@ -55,7 +55,15 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NzbDrone.Console", "NzbDron
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NzbDrone.Services.Api", "NzbDrone.Services.Api\NzbDrone.Services.Api.csproj", "{A675DE45-D30A-4CAC-991A-34DA56947DD7}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NzbDrone.Services.Api", "NzbDrone.Services.Api\NzbDrone.Services.Api.csproj", "{A675DE45-D30A-4CAC-991A-34DA56947DD7}"
EndProject 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 Global
GlobalSection(JSLint) = preSolution
SolutionConfigurationLocation = JSLintOptions.xml
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
Debug|Mixed Platforms = Debug|Mixed Platforms Debug|Mixed Platforms = Debug|Mixed Platforms