Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#12174·prettier

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

Author: fiskerCreated Jan 27, 2022Updated Sep 12, 2026
Labelshelp 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

Source: prettier/prettier

View original on GitHubView discussion on GitHub