🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

eslint-plugin-various

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-various

Linting rules for basic XSS and other code quality silliness.

1.0.0
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

eslint

FAQs

Package last updated on 12 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts