# eslint-plugin-code-protect

> Scan all the code, and protect the config value in the files.

Latest version **2.1.0** (published 2020-03-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install eslint-plugin-code-protect
pnpm add eslint-plugin-code-protect
yarn add eslint-plugin-code-protect
bun add eslint-plugin-code-protect
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2020-03-03 |
| First published | 2020-03-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 1 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | teddylin |
| Maintainers | tomdyqin |
| Keywords | eslint, eslintplugin, eslint-plugin |

## Links

- npm: https://www.npmjs.com/package/eslint-plugin-code-protect
- npm.io page: https://npm.io/package/eslint-plugin-code-protect

## 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
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 2.1.0 (latest) — 2020-03-03

## README

# eslint-plugin-code-protect

Scan all the code, and protect the config value in the files

## Installation

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

```
$ tnpm i eslint --save-dev
```

Next, install `eslint-plugin-code-protect`:

```
$ tnpm install eslint-plugin-code-protect --save-dev
```

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

## Usage

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

```json
{
    "plugins": [
        "configs_scan"
    ]
}
```


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

```json
{
    "rules": {
        "configs_scan/rule-name": 2
    }
}
```

## Supported Rules

* Fill in provided rules here

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