asylum

JavaScript Sanctuary Style

Usage no npm install needed!

<script type="module">
  import asylum from 'https://cdn.skypack.dev/asylum';
</script>

README

JavaScript Sanctuary Style

HOOQ

Usage

To use it as a global node program, you can installed asylum globally:

npm install asylum -g

Then you can use asylum to check all JavaScript files in the current working directory:

$ asylum
asylum: Here is our asylum (https://github.com/HOOQsters/asylum#readme)
  /Users/asylum/src/foo/app.js:1:1: Strings must use singlequote.

Text editor plugins

First, install asylum.

Vim

Install Syntastic and add this asylum.vim to syntastic/syntax_checkers/javascript.

Then add this line to .vimrc:

let g:syntastic_javascript_checkers = ['asylum']

License

MIT. Copyright (c) HOOQ