dsl-diagnose

diagnose js files and output json report

Usage no npm install needed!

<script type="module">
  import dslDiagnose from 'https://cdn.skypack.dev/dsl-diagnose';
</script>

README

dsl diagnose

diagnose source files with eslint

Usage

dsl-diagnose path/to/source/ -o report.json -f json

the path can be local path or remote url.

Options

  • -t: --type Project Framework, one of React, Vue, Weex.
  • -f: --format Support output format, one of json, xml. Default json.
  • -o: --output <dest> Write the results into a file.

Examples

dsl-diagnose path/to/source/

dsl-diagnose path/to/source/ -o report.json -f json

dsl-diagnose path/to/source/ -o report.xml -f xml