Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Formatter options are available in 'lint --help' #319

Closed
1 task done
jfmengels opened this issue Sep 17, 2023 · 0 comments · Fixed by #323
Closed
1 task done

🐛 Formatter options are available in 'lint --help' #319

jfmengels opened this issue Sep 17, 2023 · 0 comments · Fixed by #323
Assignees
Labels
A-CLI Area: CLI S-Bug-confirmed Status: report has been confirmed as a valid bug

Comments

@jfmengels
Copy link

Environment information

CLI:
  Version:                      1.2.0
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           linux

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v18.17.1"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "npm/9.6.7"

Biome Configuration:
  Status:                       unset

Workspace:
  Open Documents:               0

Discovering running Biome servers...

Server:
  Status:                       stopped

What happened?

I ran biome lint --help and then saw a lot of flags related to formatting such as --json-formatter-enabled.

Expected result

These flags don't make sense in the context of linting as far as I know, and they clutter the --help a lot. I would expect them to not be displayed in this context.

Code of Conduct

  • I agree to follow Biome's Code of Conduct
@ematipico ematipico self-assigned this Sep 18, 2023
@ematipico ematipico added A-CLI Area: CLI S-Bug-confirmed Status: report has been confirmed as a valid bug labels Sep 18, 2023
@jfmengels jfmengels changed the title 🐛 <TITLE> 🐛 Formatter options are available in 'lint --help' Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-CLI Area: CLI S-Bug-confirmed Status: report has been confirmed as a valid bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants