Expand description
cuno fmt and cuno lint (clang-format / clang-tidy).
See docs/en/specs/dev-tools.md.
Modules§
- format
- clang-format’s configuration from
[fmt](docs/en/specs/dev-tools.md, “[fmt]”). - targets
- Which of the package’s code files
cuno fmtandcuno lintwork on: the code minus whatexcludenames, with file links set apart, since one can lead outside the project (docs/en/specs/dev-tools.md, “Target files”). - tidy
- clang-tidy’s configuration from
[lint](docs/en/specs/dev-tools.md, “[lint]”). - write
- The one answer to “may cuno write this file”: every command that writes in the project asks here, so a rule found missing in one writer (a link written through, a hand-written file overwritten) is added once.
Enums§
- Editor
File Warning - Why an editor file was left as it was.
Functions§
- write_
editor_ files - Writes the files editors read so they format and analyse as cuno does,
at the project
root:.clang-formatfrom[fmt]and.clang-tidyfrom[lint]. Only a file cuno wrote, which starts with its marker, is overwritten, and only when its content changes; a file the user wrote, a link or a directory is left and warned about (docs/en/specs/dev-tools.md, “Configuration”).