mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 00:15:44 +01:00
apply prettier, removed flow related config and added tsconfig
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { validation } from '@scm-manager/ui-components';
|
||||
import { validation } from "@scm-manager/ui-components";
|
||||
|
||||
const nameRegex = /(?!^\.\.$)(?!^\.$)(?!.*[\\\[\]])^[A-Za-z0-9\.][A-Za-z0-9\.\-_]*$/;
|
||||
|
||||
@@ -7,5 +7,5 @@ export const isNameValid = (name: string) => {
|
||||
};
|
||||
|
||||
export function isContactValid(mail: string) {
|
||||
return '' === mail || validation.isMailValid(mail);
|
||||
return "" === mail || validation.isMailValid(mail);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user