commitizen / commitizen/cz-cli

Use cosmiconfig so users can use whatever config file extension they want

オープン
#773 コメント 3 件 リアクション 12 件 担当者 1 名 @dmwelch が担当を希望しています GitHub で見る
enhancement help / pr wanted
主要言語
JavaScript
スター
17.5k
フォーク
566
平均マージ
8時間 16分
マージ済み PR(30日)
1

説明

With `cosmiconfig` we could automatically load the configuration file from whatever supported file, such as:

> - a package.json property
> - a JSON or YAML, extensionless "rc file"
> - an "rc file" with the extensions .json, .yaml, .yml, .js, or .cjs
> - a .config.js or .config.cjs CommonJS module

I'm personally looking for a `.czrc.json`, so my VSCode can automatically detect it as JSON.

Nonetheless, this would reduce a lot of code from this repo.

https://github.com/davidtheclark/cosmiconfig

Related: https://github.com/commitizen/cz-cli/issues/460

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。