Nobody's Perfect, Man

    eslint-plugin-various

    1.0.0 • Public • Published

    Build Status

    eslint-plugin-various

    Disallow various functions for XSS and code quality reasons.
    Forked from eslint-plugin-jquery.

    Installation

    You'll first need to install ESLint:

    $ npm install eslint --save-dev
    

    Next, install eslint-plugin-various:

    $ npm install eslint-plugin-various --save-dev
    

    Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-various globally.

    Usage

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

    {
      "plugins": [
        "various"
      ],
      "rules": {
        "various/no-jquery-html": 1,
        "various/no-empty-jquery-html": 2
      }
    }

    Development

    npm install
    npm test
    

    License

    Distributed under the MIT license. See LICENSE for details.

    Install

    npm i eslint-plugin-various

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • oculus42