sindresorhus/eslint-plugin-unicorn

Rule proposal: `no-non-exists-builtin-properties`

クローズ

#2,225 opened on 2023/12/01

 (2 件のコメント) (1 件のリアクション) (0 人の担当者)JavaScript (468 件のフォーク)user submission
help wantednew rule

Repository metrics

Stars
 (5,022 個のスター)
PR merge metrics
 (平均マージ 4h 30m) (30d で 26 merged PRs)

説明

Description

I've made two mistakes recently when using Object.entries(), they are just typos, but spell check didn't pick them since they are words.

I used Object.entires() in one place, and Object.entire() in another place :smile: .

Fail

Math.NON_EXISTS_PROPERTY
Promise.nonExistsMethod()
Function.once()

Pass

Math.PI
Promise.race()

Additional Info

No response

コントリビューターガイド