quarto-dev / quarto-dev/quarto-cli
Warn or error if both `_quarto.yml` and `_quarto.yaml` are found
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.