Skip to content

Commit

Permalink
validation update (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavanvora authored Nov 8, 2024
1 parent 06507ee commit d6ab3be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ The `labelPrefix` and `contracts.name` field is used in conjunction to form a la
| projectName | 30 | Required |
| labelPrefix | 16 | Required |
| website | 35 | Optional |
| twitter | 16 | Optional |
| discord | 40 | Optional |
| twitter | 100 | Optional |
| discord | 100 | Optional |
| github | 100 | Optional |
| description | 140 | Optional |

Expand Down
4 changes: 2 additions & 2 deletions scripts/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const schema = Joi.object({
labelPrefix: Joi.string().max(16).required(),
github: Joi.string().max(100),
website: Joi.string().max(35),
twitter: Joi.string().max(16),
discord: Joi.string().max(40),
twitter: Joi.string().max(100),
discord: Joi.string().max(100),
category: Joi.string().valid(
"DEX",
"DEFI",
Expand Down

0 comments on commit d6ab3be

Please sign in to comment.