agiledigital-labs / agiledigital-labs/eslint-plugin-total-functions

New rule: ban Proxy

Open
#733 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
92
Forks
5
PR merge metrics
No merged PRs in 30d

Description

```ts
const target = {
a: "hello",
};

const handler = {
get() {
return 42;
},
};

const proxy2 = new Proxy(target, handler);

// Explodes at runtime
proxy2.a.toUpperCase();
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.