Socket
Socket
Sign inDemoInstall

eslint-plugin-various

Package Overview
Dependencies
88
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-plugin-various

Linting rules for basic XSS and other code quality silliness.


Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Install size
6.63 kB
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 12 Oct 2016

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc