@jslint-org/jslint 2021.11.20 → 2022.3.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.npmignore CHANGED
@@ -1,6 +1,6 @@
1
1
  *
2
2
  .*
3
-
4
3
  !.npmignore
4
+
5
5
  !jslint.mjs
6
- !jslint.vim
6
+ !jslint_wrapper_cjs.cjs
package/README.md CHANGED
@@ -3,7 +3,7 @@ Douglas Crockford <douglas@crockford.com>
3
3
 
4
4
 
5
5
  # Status
6
- | Branch | [master<br>(v2021.11.20)](https://github.com/jslint-org/jslint/tree/master) | [beta<br>(Web Demo)](https://github.com/jslint-org/jslint/tree/beta) | [alpha<br>(Development)](https://github.com/jslint-org/jslint/tree/alpha) |
6
+ | Branch | [master<br>(v2022.3.30)](https://github.com/jslint-org/jslint/tree/master) | [beta<br>(Web Demo)](https://github.com/jslint-org/jslint/tree/beta) | [alpha<br>(Development)](https://github.com/jslint-org/jslint/tree/alpha) |
7
7
  |--:|:--:|:--:|:--:|
8
8
  | CI | [![ci](https://github.com/jslint-org/jslint/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/jslint-org/jslint/actions?query=branch%3Amaster) | [![ci](https://github.com/jslint-org/jslint/actions/workflows/ci.yml/badge.svg?branch=beta)](https://github.com/jslint-org/jslint/actions?query=branch%3Abeta) | [![ci](https://github.com/jslint-org/jslint/actions/workflows/ci.yml/badge.svg?branch=alpha)](https://github.com/jslint-org/jslint/actions?query=branch%3Aalpha) |
9
9
  | Coverage | [![coverage](https://jslint-org.github.io/jslint/branch-master/.artifact/coverage/coverage_badge.svg)](https://jslint-org.github.io/jslint/branch-master/.artifact/coverage/index.html) | [![coverage](https://jslint-org.github.io/jslint/branch-beta/.artifact/coverage/coverage_badge.svg)](https://jslint-org.github.io/jslint/branch-beta/.artifact/coverage/index.html) | [![coverage](https://jslint-org.github.io/jslint/branch-alpha/.artifact/coverage/coverage_badge.svg)](https://jslint-org.github.io/jslint/branch-alpha/.artifact/coverage/index.html) |
@@ -35,7 +35,7 @@ Douglas Crockford <douglas@crockford.com>
35
35
  - [To create V8 coverage report from Node.js / Npm program in shell:](#to-create-v8-coverage-report-from-nodejs--npm-program-in-shell)
36
36
  - [To create V8 coverage report from Node.js / Npm program in javascript:](#to-create-v8-coverage-report-from-nodejs--npm-program-in-javascript)
37
37
 
38
- 7. [Plugin Vim](#plugin-vim)
38
+ 7. [Quickstart JSLint in Vim](#quickstart-jslint-in-vim)
39
39
  - [To run JSLint in Vim:](#to-run-jslint-in-vim)
40
40
 
41
41
  8. [Description](#description)
@@ -331,19 +331,19 @@ import jslint from "../jslint.mjs";
331
331
 
332
332
 
333
333
  <br><br>
334
- # Plugin Vim
334
+ # Quickstart JSLint in Vim
335
335
 
336
336
 
337
337
  <br><br>
338
338
  ### To run JSLint in Vim:
339
- 1. Download and save [`jslint.mjs`](https://www.jslint.com/jslint.mjs), [`jslint.vim`](https://www.jslint.com/jslint.vim) to directory `~/.vim/`
340
- 2. Add vim-command `:source ~/.vim/jslint.vim` to file `~/.vimrc`
339
+ 1. Download and save [`jslint.mjs`](https://www.jslint.com/jslint.mjs), [`jslint_wrapper_vim.vim`](https://www.jslint.com/jslint_wrapper_vim.vim) to directory `~/.vim/`
340
+ 2. Add vim-command `:source ~/.vim/jslint_wrapper_vim.vim` to file `~/.vimrc`
341
341
  3. Vim can now jslint files (via nodejs):
342
342
  - with vim-command `:SaveAndJslint`
343
343
  - with vim-key-combo `<Ctrl-S> <Ctrl-J>`
344
344
  - screenshot
345
345
 
346
- ![screenshot.png](asset_image_jslint_vim_plugin.png)
346
+ ![screenshot.png](asset_image_jslint_wrapper_vim.png)
347
347
 
348
348
 
349
349
  <br><br>