xqlint

0.5.2 • Public • Published

#XQLint NPM version

JSONiq & XQuery Code Quality Tool

XQLint parses XQuery & JSONiq files and returns errors and warnings based on static code analysis. example

Installation

Install Node.js and NPM for your system (Mac, Windows or Linux). And install the command line tool using:

$ npm install xqlint -g

Usage

Lint

$ xqlint lint <path> [-s, --style-check <yes, no>]

result

Print AST as XML

$ xqlint ast <path>

Syntax Highlighting

$ xqlint highlight <path>

Development

If you'd like to hack on xqlint itself:

git clone git@github.com:wcandillon/xqlint.git
cd xqlint
npm install
grunt

Run tests

grunt vows

Generate Parsers

grunt parsers

Who is using this project?

/xqlint/

    Package Sidebar

    Install

    npm i xqlint

    Homepage

    28.io/

    Weekly Downloads

    9

    Version

    0.5.2

    License

    Apache-2.0

    Unpacked Size

    6.55 MB

    Total Files

    51

    Last publish

    Collaborators

    • wcandillon