1.1.1 • Published 7 years ago

eslint-plugin-no-editor-code v1.1.1

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

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:

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

{
    "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.

1.1.1

7 years ago

1.1.0

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

0.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago