prettier/prettier

Move CLI related logic from `normalizeOptions` into `src/cli`

开放

#12,174 创建于 2022年1月27日

 (5 条评论) (0 个反应) (0 位负责人)JavaScript (4,985 个派生)batch import
help wantedtype:refactor

仓库指标

星标
 (52,203 个星标)
PR 合并指标
 (平均合并 6天) (30 天内合并 186 个 PR)

描述

It's CLI only code, should not live in the core part. Problem is that it's difficult to separate from src/main/options-normalizer.js file.

Ref: https://github.com/prettier/prettier/pull/12162#issuecomment-1023012063

贡献者指南