1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00
nix/tests
Oleksandr Knyshuk 6d46dc9f6a
Add warn-short-path-literals setting
Add a new setting to warn about path literals that don't start with "." or "/". When enabled,
expressions like `foo/bar` will emit a warning suggesting to use `./foo/bar` instead.

A functional test is included.

The setting defaults to false for backward compatibility but could eventually default to true in
the future.

Closes: #13374

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2025-07-29 15:47:58 +02:00
..
functional Add warn-short-path-literals setting 2025-07-29 15:47:58 +02:00
installer Format .nix files 2025-01-24 17:04:02 +01:00
nixos Apply clang-format universally. 2025-07-18 12:47:27 -04:00
repl-completion.nix Format .nix files 2025-01-24 17:04:02 +01:00