prettier/prettier

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

Open

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

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)JavaScript (51,868 star) (4,716 fork)batch import
help wantedtype:refactor

描述

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

贡献者指南