Is there an offline version of JSLint for Windows?

前端 未结 16 1742
刺人心
刺人心 2021-02-05 03:05

I would like to check my JavaScript files without going to JSLint web site.
Is there a desktop version of this tool for Windows?

相关标签:
16条回答
  • 2021-02-05 03:20

    If you use notepad++, there's a JSLint plugin for you.

    JSLint Plugin for Notepad++

    You can find it and install from notepad++'s Plugin Manager.

    0 讨论(0)
  • 2021-02-05 03:24

    MiniME is an alternative to JSLint that runs native under windows which you might find useful.

    Full disclosure, I'm behind this: http://www.toptensoftware.com/minime which does minification, obfuscation and a reasonable set of lint style checks.

    0 讨论(0)
  • 2021-02-05 03:25

    Most browsers have the ability to save an "entire" page, meaning that all external files such as StyleSheets, JavaScripts etc are also downloaded and properly linked into the HTML document (usually placed in a folder next to the HTML file). So, it should definitely be possible to use the tool offline.

    0 讨论(0)
  • 2021-02-05 03:25

    CSE HTML Validator includes JSLint and runs on Windows Desktop machines.

    0 讨论(0)
  • 2021-02-05 03:26

    You can also use JavaScript Lint on your machine,
    get it from here
    JavaScript Lint

    There are instructions on how to integrate it into many editors/IDE's on the above site. I use it in UltraEdit and it works great.

    From the above site

    You can run JavaScript Lint several ways:

    You can integrate it into your IDE, such as Visual Studio, SciTE, or any other IDE supporting external tools. When JavaScript Lint finds an error, your IDE takes you directly to the line containing the error.

    You can run it through Windows Explorer, which Windows programmers may prefer.

    You can use the command line to integrate into your build system, or maybe you're a Linux programmer and simply prefer the command line!

    0 讨论(0)
  • 2021-02-05 03:27

    Can you just save the page to your hard drive?

    0 讨论(0)
提交回复
热议问题