x-js-checker

This is a JavaScript project code specification detection tool.It already has multiple plug-ins in it, so you can find problems in your project code as early as possible.

Usage no npm install needed!

<script type="module">
  import xJsChecker from 'https://cdn.skypack.dev/x-js-checker';
</script>

README

Introduction

This is a JavaScript project code specification detection tool.It already has multiple plug-ins in it, so you can find problems in your project code as early as possible.

Environment

  • Node.js >= 10.13.0

Plugins

Usage

  • npm i -g x-js-checker

  • run x-js-checker command, the optional parameters are:

    --path:

    Project's path that you want to check, default is "./"

    --ignore-path:

    Ignored code pattern path (multiple are separated by ,)

    --eslint-global:

    Define global variate, see eslint doc

    --eslint-env:

    The environment in which the code to be checked is running, see eslint doc, default is "amd,browser,commonjs,commonjs,es6,node"

Sample

x-js-checker --path D:\git\myproject

Change Log

CHANGELOG.md