Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

feat: follow common conventions on folder naming in `$XDG_CONFIG_HOME`

オープン
#915 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
typescript
領域
tooling

調査の方向性

devtools 用の $XDG_CONFIG_HOME パスを構築するコードを見つけ、現在の .nuxt/devtools の場所がどのように選択されているかを調べます。設定場所を $XDG_CONFIG_HOME/nuxt/devtools に更新し、既存のデフォルト動作を壊さずに devtools のファイルが要求されたパスを使用することを確認します。

索引モデルが issue の本文から書いたものです。

説明

enhancement
🆒 Your use case

While #526 added support for XDG_CONFIG_HOME, it stores files in $XDG_CONFIG_HOME/.nuxt/devtools instead of the convention of $XDG_CONFIG_HOME/<application>, i.e., without the leading .. The leading dot in UNIX conventions is to denote a hidden file, and with the default location of $XDG_CONFIG_HOME being ~/.config, the parent folder is already hidden and there really isn't a need to further hide the folder inside $XDG_CONFIG_HOME.

While the XDG Base Directory specification is unfortunately silent on the naming convention and folder structure inside $XDG_CONFIG_HOME, common convention is to simply name the subdir directly after the application, without the leading dot.

References;

🆕 The solution you'd like

Store files in $XDG_CONFIG_HOME/nuxt/devtools

🔍 Alternatives you've considered

No response

ℹ️ Additional info

If this is an acceptable feature, I would be willing to contribute a PR.

主要言語
TypeScript
スター
3.3k
フォーク
214
平均マージ
19時間 45分
マージ済み PR(30日)
12

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nuxt/devtools のほかの issue

nuxt/devtools の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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