Commit 79b33e7
authored
feat(config): walk file hierarchy for project config (#1475)
The current naïve implementation of attempting to load configuration
from the current working directory is insufficient for having
project-wide selection of checks. Here, we traverse the file tree up
from the current working directory in search of configuration files,
enabling proselint to find them at the project root.1 parent 92816e1 commit 79b33e7
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
0 commit comments