#代码规范
共 2 篇文章
解决 ESLint 报错 Parsing error: Cannot find module @typescript-eslint/parser
在配置 TypeScript 项目代码静态检查时报错 Parsing error: Cannot find module @typescript-eslint/parser 或版本不兼容。本文详解 ESLint 与解析器依赖版本配比、Monorepo 寻径与配置继承规范。
解决 Python 报错 IndexError: list assignment index out of range
分析 Python 对空列表直接按索引赋值抛出 IndexError 根因,提供 append、extend 与列表推导式安全写法方案。


