sindresorhus/eslint-plugin-unicorn
Rule proposal: `no-non-exists-builtin-properties`
Geschlossen
#2.225 geöffnet am 01.12.2023
help wantednew rule
Repository-Metriken
- Stars
- (5.022 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 4h 30m) (26 gemergte PRs in 30 T)
Beschreibung
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