Lyricdev
GitHub

LYR-SEM0216

a module named as a Windows device

warning · spec 04-modules · lint reserved-device-name, group style, deny unless said

A module is named con, prn, aux, nul, com0 to com9 or lpt0 to lpt9, in any case.

Explanation

Windows keeps these names for devices: a file of that name cannot be made there, whatever its extension, so a package with such a module cannot be checked out or built on Windows. The lint is deny by default.

Name the module otherwise — console for con.

Example

$ ls src
con.lyr  main.lyr
$ lyric5 build
error[LYR-SEM0216]: the module 'app.con' is named 'con', a name Windows keeps for a device
 --> src/con.lyr:1:1