TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: GPT-3 AI powered eslint for JavaScript coding?

1 pointsby sktguhaover 4 years ago
Ask HN : Potential of Gpt3 AI powered eslint for JavaScript coding ? (ex in comments)

1 comment

sktguhaover 4 years ago
Hi everyone , what is your opinion on gpt3 powered eslint in JavaScript coding , i.e enhanced potential issues detecting using gpt3. For example , in react redux connect if a person has passed ownprops in their mapstate to props however are not using it in returned values ,then it still causes a calling of the function on every render. Example:<p>connect(mapstateToProps, (dispatch,ownProps) =&gt; { console.log(ownProps) return {} }<p>&#x2F;&#x2F; normal eslint check for unused variable will fail here<p>But with gpt3 it can detect that ownProps is not used in the returned object hence can flag it as potential issue<p>What other eslint rules can gpt3 enhance ?