<commit_before>jslint.vim
=============

Vim plugin and command line tool for running JSLint <http://jslint.com/>.

JSLint is a handy tool that spots errors and common mistakes in 
JavaScript code.

This is alpha software and is under heavy development.


Installation and Use
-----------------------

- Make sure you have a JavaScript interpreter installed. In Ubuntu you can
  install the Spidermonkey shell with this command:

        $ sudo apt-get install sipdermonkey-bin

  On Windows you can use `cscript.exe` - which is probably already installed.

- If you have rake installed, run:

        $ rake install

  Otherwise copy the directory plugin/jslint/ into your Vim plugin directory.
  Usually this is `~/.vim/plugin/`. On Windows it is `~/vimfiles/plugin/`.

- Open a JavaScript file in Vim and run the command `:JSLint` to check the
  file. Potential errors will be highlighted in red. Run `:JSLint` again once
  the errors are fixed to check the file again.

- (optional) Add configuration to your `~/.vimrc` file to bind JSLint to a key.
  For example:

        " Run JSLint on the current file when <F5> is pressed.
        map <F5> :call JSLint<CR>

To get a detailed report of any issues in your JavaScript file, run the
`bin/jslint` executable in a terminal. For example:

      $ bin/jslint plugin/jslint/fulljslint.js

You can copy `bin/jslint` into for `PATH` for easier access. The executable
requires that the Vim plugin is installed and also requires Ruby.


Credits
---------

- <NAME> -- original author
- <NAME> -- Windows compatibility and many other improvements
- <NAME> -- Easy plugin installation with rake


License
---------

Copyright (c) 2008-2009 <NAME> <<EMAIL>>, except where
otherwise noted

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

The Software shall be used for Good, not Evil.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
<commit_msg>Fixed an error in the documentation for binding JSLint to a key.<commit_after>jslint.vim
=============

Vim plugin and command line tool for running JSLint <http://jslint.com/>.

JSLint is a handy tool that spots errors and common mistakes in 
JavaScript code.

This is alpha software and is under heavy development.


Installation and Use
-----------------------

- Make sure you have a JavaScript interpreter installed. In Ubuntu you can
  install the Spidermonkey shell with this command:

        $ sudo apt-get install sipdermonkey-bin

  On Windows you can use `cscript.exe` - which is probably already installed.

- If you have rake installed, run:

        $ rake install

  Otherwise copy the directory plugin/jslint/ into your Vim plugin directory.
  Usually this is `~/.vim/plugin/`. On Windows it is `~/vimfiles/plugin/`.

- Open a JavaScript file in Vim and run the command `:JSLint` to check the
  file. Potential errors will be highlighted in red. Run `:JSLint` again once
  the errors are fixed to check the file again.

- (optional) Add configuration to your `~/.vimrc` file to bind JSLint to a key.
  For example:

        " Run JSLint on the current file when <F5> is pressed.
        map <F5> :JSLint<CR>

To get a detailed report of any issues in your JavaScript file, run the
`bin/jslint` executable in a terminal. For example:

      $ bin/jslint plugin/jslint/fulljslint.js

You can copy `bin/jslint` into for `PATH` for easier access. The executable
requires that the Vim plugin is installed and also requires Ruby.


Credits
---------

- <NAME> -- original author
- <NAME> -- Windows compatibility and many other improvements
- <NAME> -- Easy plugin installation with rake


License
---------

Copyright (c) 2008-2009 <NAME> <<EMAIL>>, except where
otherwise noted

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

The Software shall be used for Good, not Evil.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

{'fraction_non_alphanumeric': 0.07341549295774648, 'fraction_numerical': 0.0035211267605633804, 'mean_word_length': 3.633768352365416, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5473755', 'n_tokens_mistral': 1557, 'n_tokens_neox': 1454, 'n_words': 822}