<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to Discussion</title><link>https://sourceforge.net/p/javascriptlint/discussion/</link><description>Recent posts to Discussion</description><atom:link href="https://sourceforge.net/p/javascriptlint/discussion/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 07 Mar 2022 18:48:01 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/javascriptlint/discussion/feed.rss" rel="self" type="application/rss+xml"/><item><title>JS Lint Online doesn't seem to do anything but echo the JavaScript program</title><link>https://sourceforge.net/p/javascriptlint/discussion/575373/thread/b825e0dbb3/?limit=25#c246</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I don't understand this reply by David Weber.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Spector</dc:creator><pubDate>Mon, 07 Mar 2022 18:48:01 -0000</pubDate><guid>https://sourceforge.netdf186f01adf4e8fb058b97ff816a2947adc53d09</guid></item><item><title>JS Lint Online doesn't seem to do anything but echo the JavaScript program</title><link>https://sourceforge.net/p/javascriptlint/discussion/575373/thread/b825e0dbb3/?limit=25#9b75</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;You can run it using different validators, also if you're using the java lint then you before clicking on the Lint Button you can make sure the input field is working fine. You can also implement using data validator in wordpress &lt;a class="" href="https://mepcobills.com" rel="nofollow"&gt;site&lt;/a&gt; but before that make sure you've coded correctly.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Weber</dc:creator><pubDate>Mon, 07 Mar 2022 18:36:38 -0000</pubDate><guid>https://sourceforge.net37e8eb18f24f7720c2f9cb4c7f6f0e7964624cb6</guid></item><item><title>JS Lint Online doesn't seem to do anything but echo the JavaScript program</title><link>https://sourceforge.net/p/javascriptlint/discussion/575373/thread/b825e0dbb3/?limit=25#f898</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm running &lt;a href="http://www.javascriptlint.com/online_lint.php" rel="nofollow"&gt;http://www.javascriptlint.com/online_lint.php&lt;/a&gt; and I put a JavaScript program into the input box and clicked the Lint button. All that happens is that the  source file is shown in gray with added line numbers. I tried with another program and the same thing happens. I'm confused.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Spector</dc:creator><pubDate>Fri, 19 Jun 2020 02:01:24 -0000</pubDate><guid>https://sourceforge.netc6403ba3e8052f2020a232579b349918bb34827a</guid></item><item><title>need updated version, doesn't take non-.js filenames</title><link>https://sourceforge.net/p/javascriptlint/discussion/575373/thread/2ce59f84/?limit=25#8613</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;jsl.exe won't even load the engine, finds no errors, but browser doesn't load it either.&lt;br/&gt;
after 8 seconds on an i7-3970x machine with 64GB RAM, it says&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;atoi64.js-4-15-2017
atoi64.js
l:\atoi64.js:0: can't open file: No such file or directory
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;echo %ERRORLEVEL% gives me a 4 after this, jsl.exe is trying to strip out anything that doesn't look like a .js filename, and I have backups I need to process. a browser doesn't care what the file extension is when you specify src=""&lt;/p&gt;
&lt;p&gt;browsers do work with nonstandard filename extensions, and so should this program.&lt;br/&gt;
problem is, the filename is atoi64.js-4-15-2017&lt;br/&gt;
&lt;a href="http://Jesusnjim.com/atoi64.js-4-15-2017" rel="nofollow"&gt;http://Jesusnjim.com/atoi64.js-4-15-2017&lt;/a&gt;&lt;br/&gt;
you can use it for test purposes, I am basically trying to get this debugged.&lt;/p&gt;
&lt;p&gt;j.bat:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;cls&lt;/span&gt;
&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="n"&gt;lupe&lt;/span&gt;
&lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="o"&gt;:\&lt;/span&gt;&lt;span class="n"&gt;jsl&lt;/span&gt;&lt;span class="o"&gt;\&lt;/span&gt;&lt;span class="n"&gt;jsl&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;exe&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;nologo&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;conf&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="o"&gt;:\&lt;/span&gt;&lt;span class="n"&gt;jsl&lt;/span&gt;&lt;span class="o"&gt;\&lt;/span&gt;&lt;span class="n"&gt;jsl&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;default&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;conf&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;process&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="n"&gt;shift&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;not&lt;/span&gt; &lt;span class="o"&gt;.%&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;.==..&lt;/span&gt; &lt;span class="n"&gt;goto&lt;/span&gt; &lt;span class="n"&gt;lupe&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;is it possible I can get this project as source code to compile myself? I might be able to. and I might be able to get the engine to load maybe. the engine is often not loading with some syntax errors in big files (4000 lines) just like ff.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim Michaels</dc:creator><pubDate>Fri, 21 Apr 2017 18:26:51 -0000</pubDate><guid>https://sourceforge.netbe3b1dbb006ee55f379f7350b4781e83d8454a56</guid></item><item><title>Check for missing "var" in declaration</title><link>https://sourceforge.net/p/javascriptlint/discussion/575373/thread/975c4579/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for producing this excellent tool. Is there a way to configure it to report a missing variable declaration (in the code below, &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="err"&gt;`&lt;/span&gt;
&lt;span class="nx"&gt;$&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"body"&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nx"&gt;on&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'click'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'.foo'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;e&lt;/span&gt;&lt;span class="p"&gt;){&lt;/span&gt;
    &lt;span class="nx"&gt;value&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"foo"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="err"&gt;`&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;vs&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;`
    var value = "foo";
`
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Doug Stevens</dc:creator><pubDate>Thu, 30 Jun 2016 20:57:38 -0000</pubDate><guid>https://sourceforge.net2b055478a78dee3aff57254681f1a01bfee64977</guid></item><item><title>Linux Version</title><link>https://sourceforge.net/p/javascriptlint/discussion/575373/thread/21a7b3aa/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Are you aware of the python rewrite of javascript link that is available in the trunk of this project?  That should work for you on linux.  I don't know if it just the graveyard that sourceforge has become, but I think the python version is easy to miss on here.&lt;/p&gt;
&lt;p&gt;I have always liked the advanced options that JavaScript Lint has over the crockford jslint, but there is little doubt that jslint is massively more popular which makes it easier to get into.&lt;/p&gt;
&lt;p&gt;If you struggle with the python version you may just consider adapting your process to use the jslint version with nodejs:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;apt-get install npm
npm install -g jslint
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gabriel Barta</dc:creator><pubDate>Thu, 31 Mar 2016 06:20:44 -0000</pubDate><guid>https://sourceforge.net3f5be387cfc2157b3716e4ee86d8a5212656e0f1</guid></item><item><title>Linux Version</title><link>https://sourceforge.net/p/javascriptlint/discussion/575373/thread/21a7b3aa/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Am having Jsl exe for windows. I need to run in Linux Environment.&lt;br/&gt;
Please provide your ideas.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ramya A</dc:creator><pubDate>Thu, 31 Mar 2016 05:08:38 -0000</pubDate><guid>https://sourceforge.net8ec81029d89ca79ee3d02f76e13059e0b457fc06</guid></item><item><title>JavascriptLint cannot process filenames with spaces.</title><link>https://sourceforge.net/p/javascriptlint/discussion/575373/thread/b9d03ddc/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;JavascriptLint can't understand Windows long filenames with spaces in them, even if they are enclosed in quotes. Is there any workaround?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">elmonty</dc:creator><pubDate>Wed, 09 Dec 2015 21:20:57 -0000</pubDate><guid>https://sourceforge.netaa6154e41e9fcd1bd0cb88ff54116a34abc7108a</guid></item><item><title>Do not lint imports (Jquery)?</title><link>https://sourceforge.net/p/javascriptlint/discussion/575373/thread/edc37278/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Matthias, thanks for that.&lt;br/&gt;
Paul DS.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paul D Smith</dc:creator><pubDate>Sat, 22 Aug 2015 15:17:40 -0000</pubDate><guid>https://sourceforge.net37b53256ccbd478fa15c29d58cbba8655e968f3b</guid></item><item><title>Do not lint imports (Jquery)?</title><link>https://sourceforge.net/p/javascriptlint/discussion/575373/thread/edc37278/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The best way is to either add this to your file:&lt;/p&gt;
&lt;p&gt;/&lt;em&gt;jsl:declare jQuery&lt;/em&gt;/&lt;br/&gt;
/&lt;em&gt;jsl:declare $&lt;/em&gt;/&lt;/p&gt;
&lt;p&gt;or to your config:&lt;/p&gt;
&lt;p&gt;+declare jQuery&lt;br/&gt;
+declare $&lt;/p&gt;
&lt;p&gt;If you're linting .htm files, you may have to edit your jQuery script to this:&lt;/p&gt;
&lt;p&gt;/&lt;em&gt;jsl:ignore&lt;/em&gt;/&lt;br/&gt;
(jquery contents)&lt;br/&gt;
/&lt;em&gt;jsl:end&lt;/em&gt;/&lt;/p&gt;
&lt;p&gt;Let me know how this works for you.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matthias Miller</dc:creator><pubDate>Fri, 21 Aug 2015 13:28:20 -0000</pubDate><guid>https://sourceforge.net3fd94e85d5bf08b6b0fc1fbe1862a90157533bae</guid></item></channel></rss>