ConfigErrorConfig "antfu/javascript/rules"Key "rules"Key "accessor-pairs"structuredClone is not defined
2024-12-10 16:15:11一. 问题
再进行项目开发过程中,eslint 时遇到错误信息:ConfigError: Config "antfu/javascript/rules": Key "rules": Key "accessor-pairs": structuredClone is not defined。
ESLint: 9.1.1

二. 解决方案
切换 node 至 17 版本及以上。
经实验,node 16 版本以下,会出现以上错误。