node-red / node-red-dev-cli

Command-line tool for Node-RED Node authors
Apache License 2.0
7 stars 5 forks source link

P04 scoped name lint fires on a scoped name with a tilde in scope #27

Open nagisa opened 6 months ago

nagisa commented 6 months ago

The name of the package I just built is @nagisa~/node-red-dsmr. Running node-red-dev/bin/run validate reports:

 ›   Warning: P04 New Packages should use a scoped name
✅ Package uses a valid name

If I remove the trailing tilde from the scope, then the lint works correctly.

Interestingly the flows.node-red.org page does not flag the package name in a similar way.