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
Check for existing issues
Environment
Linux via Homebrew
Describe the bug / provide steps to reproduce it
Here is my conf
valeworks$ vale /etc/debian_version ✔ 0 errors, 0 warnings and 0 suggestions in 1 file.But you cannot use
vale syncwithout using --configAnd it works when asking to use the config file reported with
vale ls-dirsExpected behavior, be able to use
vale syncwithout having to use a--configparameterHere is an strace of what the code tries to locate
You can see it find the
/home/whatever/.config/vale/.vale.inifile, but it reports an error