ember-cli / ember-cli/ember-cli-update

Formatting applied by `ember-cli-update --run-codemods` disagrees with `yarn lint:fix`

未关闭
#1,263 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
279
派生
44
PR 合并指标
30 天内没有已合并 PR

描述

I'm working on updating an app from `4.4` up to `6.4` by jumping from LTS release to LTS release (4.4, 4.4, 4.12, 5.4, etc...).

For each new LTS release when I run `ember-cli-update --run-codemods` it makes purely formatting changes to nearly every test file in the project. And then if I run `yarn lint:fix` it undoes some of those changes and/or makes a different set of changes.

It would be nice if those two things agreed about the proper way to format stuff.

Apologies if this isn't the right place to raise this issue. If that's the case please point me to the proper place.

贡献指南

这个仓库没有索引到贡献指南

调研方向

复现从 Ember CLI 4.4 开始、经过所列 LTS 版本的报告升级路径,在测试文件上运行 `ember-cli-update --run-codemods`,然后运行 `yarn lint:fix`。比较两个命令产生的格式变化;当 codemods 和 lint fixer 在格式化方面达成一致,而不是撤销或添加更改时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
cli, tooling
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。