20

手摸手教你写个ESLint 插件以及了解ESLint的运行原理

 4 years ago
source link: https://juejin.im/post/5de8f14ff265da33f9794489
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
这篇文章目的是介绍如何创建一个ESLint插件和创建一个ESLint rule,用以帮助我们更深入的理解ESLint的运行原理,并且在有必要时可以根据需求创建出一个完美满足自己需求的Lint规则。 插件目标 禁止项目中setTimeout的第二个参数是数字。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK