quick-lint-js icon indicating copy to clipboard operation
quick-lint-js copied to clipboard

.meta/quick-lint-js.config support

Open strager opened this issue 1 year ago • 5 comments

https://dotmeta.org/

strager avatar Jun 25 '23 20:06 strager

Alternate proposal: .config/quick-lint-js.config https://dot-config.github.io/

strager avatar Jul 31 '23 21:07 strager

Supporting a general one at a higher level (XDG_CONFIG_HOME on linux seems an obvious choice) that can be overridden locally similarly to other projects such as git would also be nice.

RossBarnie avatar Sep 14 '23 15:09 RossBarnie

@RossBarnie I haven't considered a user-specific quick-lint-js config file. What is the use case?

strager avatar Sep 15 '23 23:09 strager

If you want to always suppress some rules, no matter the project, maybe you have a common global that you don't want to be warned about (E0057). Probably a bit tenuous to actually spend time on.

RossBarnie avatar Sep 16 '23 09:09 RossBarnie

Ideally, quick-lint-js should have no false positives, so you shouldn't need to suppress anything. E0057 and E0059 are the only exceptions currently. A user-specific config file sounds like a bad solution, so I'm not sure what to do about those two warnings. 🤷‍♀️

strager avatar Sep 16 '23 09:09 strager