[英]Is it possible to see all active rules from a complex eslint config?
我的 eslint 配置扩展了其他几个配置文件。 是否可以静态导出所有当前应用的规则?
是否可能有一个 VSCode 插件?
是的,您可以使用 --print-config 选项。
./node_modules/.bin/eslint --print-config some-file.js > my-config.json
或者
npx eslint --print-config some-file.js > my-config.json
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.