Alex Gleason on Nostr: Using hidden dotfiles for "project-scoped" configuration is an anti-pattern. Imagine ...
Using hidden dotfiles for "project-scoped" configuration is an anti-pattern. Imagine if package.json was .package.json, and how much problems it would cause when people try to copy-paste code using the file browser. It's completely arbitrary and only works for developers who already have hidden files toggled to be visible.
Published at
2025-05-02 17:11:16Event JSON
{
"id": "6d33d96e6f4b8bd9d151b0fc2727b1cb07d408331ec04d030fd8efb2e932ccab",
"pubkey": "0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd",
"created_at": 1746205876,
"kind": 1,
"tags": [
[
"imeta",
"url https://media.ditto.pub/367d8fbcbfb69458c325c80f1b073ca235fdae6451c2926da73b392834b20719.png",
"m image/png",
"x 367d8fbcbfb69458c325c80f1b073ca235fdae6451c2926da73b392834b20719",
"size 58202",
"dim 773x601",
"blurhash UkK_E{%M?b%M~qRjRjWB?aWBRjayRjfQj[j["
],
[
"client",
"Gleasonator",
"31990:db0e60d10b9555a39050c258d460c5c461f6d18f467aa9f62de1a728b8a891a4:ditto",
"wss://gleasonator.dev/relay"
]
],
"content": "Using hidden dotfiles for \"project-scoped\" configuration is an anti-pattern. Imagine if package.json was .package.json, and how much problems it would cause when people try to copy-paste code using the file browser. It's completely arbitrary and only works for developers who already have hidden files toggled to be visible.\n\nhttps://media.ditto.pub/367d8fbcbfb69458c325c80f1b073ca235fdae6451c2926da73b392834b20719.png",
"sig": "fc75957738b715b216d8319110d2578f5bac01322645ee484276cd93ce067873104e2ca3f31066a3688625ca4ad28b3c762c3ce84565737a88a60e8b5b290754"
}