mirror of https://github.com/status-im/consul.git
5 lines
155 B
JavaScript
5 lines
155 B
JavaScript
|
import { validateFormat } from 'ember-changeset-validations/validators';
|
||
|
export default {
|
||
|
Name: validateFormat({ regex: /^[A-Za-z0-9\-_]{1,256}$/ }),
|
||
|
};
|