不允许分配给导入的绑定
配置文件中的 "extends": "eslint:recommended" 属性启用了该规则
ES 模块对导入绑定的更新会导致运行时错误。
此规则警告导入绑定的分配、增量和减量。
此规则的错误代码示例:
← no-func-assign no-inner-declarations →