@zohodesk/eslint-plugin-security

0.0.1-beta.1 • Public • Published

eslint-plugin-security

To prevent from xss and to make secure build

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-security:

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

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

Usage

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

{
    "plugins": [
        "security"
    ]
}

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

{
    "rules": {
        "security/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here

Package Sidebar

Install

npm i @zohodesk/eslint-plugin-security

Weekly Downloads

1

Version

0.0.1-beta.1

License

ISC

Unpacked Size

8.11 kB

Total Files

10

Last publish

Collaborators

  • hariharan_vs
  • eldhose_saji
  • sankara.subramanian
  • madhubalan
  • deekay.npm
  • sheikbasheeth
  • jos33
  • rajsekar.haribalan
  • selvakumar.pl
  • muthumari
  • sundarrajkumar.m
  • prakash.m
  • maheshmdr
  • _dev_johnson
  • karuppiah.r
  • navas-0968
  • vallinayagam.t
  • iambk
  • lakshmi_ts
  • mariappan.r
  • antro.j
  • ganeshkumar.m
  • vimalesan
  • skumaresan
  • kathiresan.r
  • jesinth
  • sriramamoorthy
  • lingam
  • ponkumar.s
  • sudalaimuthu
  • iniankarthick
  • johnson_raavanan
  • ksamy2020
  • kumaresanm
  • villuvicky
  • indragith