rainvention
v1.0.6
Published
Coding convention used by Spring Rain
Downloads
4
Maintainers
Readme
rainvention is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code.
- rainvention uses Esprima for JavaScript parsing.
- rainvention uses an AST to evaluate patterns in code.
Table of Contents
Installation
Prerequisites: Node.js (^8.10.0
, ^10.13.0
, or >=11.10.1
), npm version 3+.
You can install rainvention using npm:
$ npm install -g rainvention
It'll be installed globally with predefined conventions.
Usage
you can run rainvention on any file or directory like this:
$ rainvention yourfile.js
or
$ rainvention src