Nepotistic Pontifex Maximus

    @rql/eslint-plugin
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.0 • Public • Published

    eslint-plugin-rql

    Eslint plugin which provides lint rules for RQL queries

    Installation

    You'll first need to install ESLint:

    $ npm i eslint --save-dev
    

    Next, install @rql/eslint-plugin:

    $ npm install @rql/eslint-plugin --save-dev
    

    Usage

    Add rql to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

    {
        "plugins": [
            "@rql"
        ]
    }

    Then configure the rules you want to use under the rules section.

    {
        "rules": {
            "@rql/rule-name": 2
        }
    }

    Supported Rules

    Name Description
    @rql/no-undeclared-var Require selected variables to appear in the restriction part of search queries.

    Install

    npm i @rql/eslint-plugin

    DownloadsWeekly Downloads

    8

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    5.99 kB

    Total Files

    12

    Last publish

    Collaborators

    • nchauvat
    • fbessou