# eslint-plugin-no-editor-code

> Removes vscode code folding comments (#region, #regionend)

Latest version **1.1.1** (published 2017-10-14) · ISC license · 0 weekly downloads

## Install

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

## 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 | 1.1.1 |
| Published | 2017-10-14 |
| First published | 2017-10-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | lukebelliveau |
| Maintainers | r24y, luke.belliveau |
| Keywords | eslint, eslintplugin, eslint-plugin, vscode |

## Links

- npm: https://www.npmjs.com/package/eslint-plugin-no-editor-code
- Repository: https://github.com/lukebelliveau/eslint-plugin-no-editor-code
- Homepage: https://github.com/lukebelliveau/eslint-plugin-no-editor-code#readme
- Issues: https://github.com/lukebelliveau/eslint-plugin-no-editor-code/issues
- npm.io page: https://npm.io/package/eslint-plugin-no-editor-code

## 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

- 1.1.1 (latest) — 2017-10-14
- 1.1.0 — 2017-10-14
- 1.0.4 — 2017-10-12
- 1.0.3 — 2017-10-12
- 0.0.3 — 2017-10-12
- 1.0.1 — 2017-10-12
- 1.0.0 — 2017-10-12

## README

# eslint-plugin-no-editor-code
ESlint plugin to remove vscode folding comments. Originally prototyped by Kent C. Dodds.

Will complain about code like the following:

```es6
//#region foo

//#regionend
```

## Install
`npm install --save-dev eslint-plugin-no-editor-code`

## Use
Place the plugin and rule in your .eslintrc like so. Replace "warn" with "error" if you wanna get strict:
```es6
{
    "plugins": [
        "no-editor-code"
    ],
    "rules": {
        "no-editor-code/no-region": "warn"
    }
}
```

## Fix

This rule is auto-fixable! Run ESLint with `--fix` to remove the comments.

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