senecajs / seneca-auth

A Seneca user authentication plugin for Hapi and Express
http://senecajs.org
MIT License
33 stars 29 forks source link

convention has changed #33

Closed rjrodger closed 9 years ago

rjrodger commented 9 years ago

https://github.com/rjrodger/seneca-auth/blob/0.5.0/auth.js#L25

please use literal "auth" variable named plugin is confusing as it is not a plugin, just a string variable named name is not very unique, and variable named plugin_name is ugly and too long

js files are so short that traditional rules re constants are not as useful