TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

1 点作者 sktguha将近 5 年前
Ask HN : Potential of Gpt3 AI powered eslint for JavaScript coding ? (ex in comments)

1 comment

sktguha将近 5 年前
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 ?