leonardodino / eslint-plugin-coherence

:anguished: ESLint plugin to restrict confusing usages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eslint-plugin-coherence

npm Build Status Code Coverage

named after the micro-budget movie.

Rules

no-const-enum

Disallow all usages of const enum in TypeScript code. It's not supported by babel.

no-confusing-enum

Ensures all enum values matches their keys. This simplifies porting plain javascript code by avoiding pitfalls of passing enums to Object.keys and related methods.

License

MIT

About

:anguished: ESLint plugin to restrict confusing usages

License:MIT License


Languages

Language:JavaScript 100.0%