kachick / times_kachick

`#times_kachick channel in chat` as a public repository. Personal Note and TODOs
https://github.com/kachick/times_kachick/issues?q=is%3Aissue+is%3Aclosed
6 stars 0 forks source link

2023-08-20 - editorconfig で一部だけ対象から除外するシンプルな方法が無さげ #241

Closed kachick closed 12 months ago

kachick commented 12 months ago

https://stackoverflow.com/a/71414607/1212807 みたいなのがあったんで、お、generated_code で行けるなら便利やん。 と思ったんだけど、これはなんか一部で実装されただけのようで vscode とかで使えない感だった。 https://learn.microsoft.com/en-US/visualstudio/releases/2019/release-notes-v16.5#exclude-generated-files-folders は一体・・・?(英語ちゃんと読んでない)

https://github.com/editorconfig/editorconfig/issues/399 みたいな issue は上がってるけど、特にアクティブでも無い

windows で generate された json が crlf で、別に lf に変換しても読み込んではくれるだろうけど余計な diff 作りたくないみたいな時にこれに引っかかった。 個人的には json のフォーマットは全部 dprint に任せてることもあるし、json 単位で外しても良いかもしれないけど、editorconfigは最低限こうよなーみたいなの突っ込んでおきたい場所なのでこれはこれでなんとかしたい気もする。 当面 unset 使うしか無いかなー

kachick commented 12 months ago

特にアクティブでも無い

https://github.com/editorconfig/editorconfig/issues/228 は賞金がかかってるほどアクティブだった