You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior, be able to use vale sync without having to use a --config parameter
Here is an strace of what the code tries to locate
newfstatat(AT_FDCWD, "/home/whatever/Documents/dev/.vale", 0xc002d9a1d8, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/whatever/Documents/dev/_vale", 0xc002d9a2a8, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/whatever/Documents/dev/vale.ini", 0xc002d9a378, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/whatever/Documents/dev/.vale.ini", 0xc002d9a448, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/whatever/Documents/dev/_vale.ini", 0xc002d9a518, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/whatever/Documents/.vale", 0xc002d9a5e8, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/whatever/Documents/_vale", 0xc002d9a6b8, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/whatever/Documents/vale.ini", 0xc002d9a788, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/whatever/Documents/.vale.ini", 0xc002d9a858, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/whatever/Documents/_vale.ini", 0xc002d9a928, 0) = -1 ENOENT (No such file or directory)
(...)
newfstatat(AT_FDCWD, "/home/whatever/.vale", 0xc002d9b628, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/whatever/_vale", 0xc002d9b6f8, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/whatever/vale.ini", 0xc002d9b7c8, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/whatever/.vale.ini", 0xc002d9b898, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/whatever/_vale.ini", 0xc002d9b968, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/whatever/.config/vale", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
newfstatat(AT_FDCWD, "/home/whatever/.config/vale/.vale.ini", {st_mode=S_IFREG|0664, st_size=107, ...}, 0) = 0
You can see it find the /home/whatever/.config/vale/.vale.ini file, but it reports an error
The text was updated successfully, but these errors were encountered:
Check for existing issues
Environment
Linux via Homebrew
Describe the bug / provide steps to reproduce it
Here is my conf
vale
works$ vale /etc/debian_version ✔ 0 errors, 0 warnings and 0 suggestions in 1 file.
But you cannot use
vale sync
without using --configAnd it works when asking to use the config file reported with
vale ls-dirs
Expected behavior, be able to use
vale sync
without having to use a--config
parameterHere is an strace of what the code tries to locate
You can see it find the
/home/whatever/.config/vale/.vale.ini
file, but it reports an errorThe text was updated successfully, but these errors were encountered: