Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance name-format rule #115

Closed
tclindner opened this issue Jun 16, 2019 · 0 comments · Fixed by #118
Closed

Enhance name-format rule #115

tclindner opened this issue Jun 16, 2019 · 0 comments · Fixed by #118
Labels
enhancement 👑 New feature or request
Milestone

Comments

@tclindner
Copy link
Owner

https://docs.npmjs.com/files/package.json#name

Validate

  • kebab-case
  • Name is less than or equal to 214 characters. This includes the scope for scoped packages.
  • Name doesn’t start with a dot or an underscore.
  • No non-URL-safe characters.
@tclindner tclindner added the enhancement 👑 New feature or request label Jun 16, 2019
@tclindner tclindner added this to the v4.0.0 milestone Jun 16, 2019
tclindner added a commit that referenced this issue Jun 29, 2019
@tclindner tclindner mentioned this issue Jun 29, 2019
1 task
tclindner added a commit that referenced this issue Jun 29, 2019
* Remove validator and add ajv-errors

* Add new property exist module

* Add the ability to add exceptions

Closes #93

* Update format.test.js

* Update format.js

* Update format.js

* Enhance name format rule

Closes #115
tclindner added a commit that referenced this issue Jun 29, 2019
* Remove validator and add ajv-errors

* Add new property exist module

* Add the ability to add exceptions

Closes #93

* Update format.test.js

* Update format.js

* Update format.js

* Enhance name format rule

Closes #115

* Update alpha rules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 👑 New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant