Enable '@' to be used in a library name #942
-
In trying to utilize angular-eslint for my company, and following the pattern I've seen in many angular related libraries(including this one), I tried to give my library the name |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
After reviewing the full RegEx used there, it appears as though |
Beta Was this translation helpful? Give feedback.
-
This matches the pattern used by package managers - @company-name represents an organization and @company-name/foo is a package under that organization. It is therefore not possible to have a package called @company-name on npm, for example, and I think keeping alignment with that mental model is useful for folks far more often than not |
Beta Was this translation helpful? Give feedback.
This matches the pattern used by package managers - @company-name represents an organization and @company-name/foo is a package under that organization. It is therefore not possible to have a package called @company-name on npm, for example, and I think keeping alignment with that mental model is useful for folks far more often than not