[英]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.