const rules = {
gh_profile: 'url'
}
// or
const rules = {
gh_profile: [
rule('url')
]
}
Ensures the value is a valid URL format.
const rules = {
gh_profile: 'url'
}
// or
const rules = {
gh_profile: [
rule('url')
]
}
For customized build, you can import this rule as follows.
import { url } from 'indicative/builds/validations'