# @zohodesk/eslint-plugin-zsecurity

> To prevent from xss and to make secure build

Latest version **0.0.1-beta.4** (published 2019-11-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install @zohodesk/eslint-plugin-zsecurity
pnpm add @zohodesk/eslint-plugin-zsecurity
yarn add @zohodesk/eslint-plugin-zsecurity
bun add @zohodesk/eslint-plugin-zsecurity
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1-beta.4 |
| Published | 2019-11-20 |
| First published | 2019-10-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 1 |
| Unpacked size | 8.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Kathiesan |
| Maintainers | jesinth, kathiresan.r, lingam, skumaresan, sriramamoorthy, vasikaran, vimalesan, zohosupport |
| Keywords | eslint, eslintplugin, eslint-plugin |

## Links

- npm: https://www.npmjs.com/package/@zohodesk/eslint-plugin-zsecurity
- npm.io page: https://npm.io/package/@zohodesk/eslint-plugin-zsecurity

## Dependencies (1)

- [requireindex](https://npm.io/package/requireindex.md) ~1.1.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 0.0.1-beta.4 (latest) — 2019-11-20
- 0.0.1-beta.3 — 2019-11-06
- 0.0.1-beta.2 — 2019-11-01
- 0.0.1-beta.1 — 2019-10-01

## README

# eslint-plugin-security

To prevent from xss and to make secure build

## Installation

You'll first need to install [ESLint](http://eslint.org):

```
$ npm i eslint --save-dev
```

Next, install `eslint-plugin-zsecurity`:

```
$ npm install eslint-plugin-zsecurity --save-dev
```

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

## Usage

Add `@zohodesk/zsecurity` to the plugins section of your `.eslintrc` configuration file.

```json
{
  "plugins": ["@zohodesk/zsecurity"]
}
```

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

```json
{
  "rules": {
    "@zohodesk/zsecurity/rule-name": 2
  }
}
```

## List of supported rules

- @zohodesk/zsecurity/no-unsecure-html,
- @zohodesk/zsecurity/no-protocol-check

---
_Source: https://npm.io/package/@zohodesk/eslint-plugin-zsecurity · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
