Adds linter for scripts

This commit is contained in:
Akshay Nair
2020-10-17 21:33:08 +05:30
parent b2ba3c7c73
commit 92e02ef996
6 changed files with 442 additions and 16 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ const validateDomainData = validate({
R.equals('@'),
and([
R.compose(between(2, 100), R.length),
testRegex(/^[a-z0-9\-]+$/g),
testRegex(/^[a-z0-9-]+$/g),
])
]),
},