我正在将 Ember 应用程序从 2.4.3 版升级到 2.9.1 版。应用程序构建成功,但我得到了以下 JSHint 错误的 42 个版本的列表;每个都以不同的文件名开头
unit/services/tracker-test.js: line 0, col 0, Incompatible values for the 'esversion' and 'esnext' linting options. (0% scanned).
Run Code Online (Sandbox Code Playgroud)
我的.jshintrc文件包含
...
"esnext": true,
"esversion": 6,
...
Run Code Online (Sandbox Code Playgroud)
是什么导致错误?