sindresorhus/eslint-plugin-unicorn
Rule proposal: `no-non-exists-builtin-properties`
Chiusa
#2225 aperta il 1 dic 2023
help wantednew rule
Metriche repository
- Star
- (5022 stelle)
- Metriche merge PR
- (Merge medio 4h 30m) (26 PR mergiate in 30 g)
Descrizione
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