Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: default to config at .config/lintrunner.toml
Adds `.config/lintrunner.toml` and `.config/lintrunner.private.toml` to the end of default config paths. Idea here is that having too much dot files in the repo root is a mess. Alternative is a `.config/`, which alieviates the problem a lot. See https://dot-config.github.io/ and natemoo-re/proload#34. This is potentially a breaking change, since project that currenty default to `.lintrunner.toml` but also has `.config/lintrunner.toml` will now have root config overridden with the `.config`. The chance of this happening are very low, so I don't think this will cause any problems. --- Alternative is to put the new default in the front of the list, but then we would have to change the full default to: ``` .config/lintrunner.toml, .config/lintrunner.private.toml, ../.lintrunner.toml, ../.lintrunner.private.toml ``` ... since this the last two paths must be relative to `.config`, which is confusing.
- Loading branch information