quarto-dev / quarto-dev/quarto-cli

Warn or error if both `_quarto.yml` and `_quarto.yaml` are found

Open
#5,397 1 comment 0 reactions 1 assignee View on GitHub

@cscheid is already working on this.

Since Jun 14, 2023.

enhancement triaged-to
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

From discussion in https://github.com/quarto-dev/quarto-cli/issues/5349, a project having both file will be silent and it seems we can improve that.

I think this is the function that detects both file
https://github.com/quarto-dev/quarto-cli/blob/4a4e9f1226df1f6f994ac084b226150966bc7aa5/src/project/project-shared.ts#L90-L94

We could either warn or even error if we detect both

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.