mirror of https://github.com/status-im/consul.git
5 lines
177 B
JavaScript
5 lines
177 B
JavaScript
|
import { validateFormat } from 'ember-changeset-validations/validators';
|
||
|
export default {
|
||
|
Name: validateFormat({ regex: /^[a-zA-Z0-9]([a-zA-Z0-9-]{0,62}[a-zA-Z0-9])?$/ }),
|
||
|
};
|