Comply with ESM syntax.

This commit is contained in:
Eric Lavault
2021-10-09 13:18:40 +02:00
parent 5a290c3ae5
commit cbe7e0c89f
16 changed files with 50 additions and 62 deletions

View File

@ -41,4 +41,4 @@ const AlternativeStringArrange = (str1, str2) => {
return outStr
}
module.exports = AlternativeStringArrange
export { AlternativeStringArrange }

View File

@ -17,4 +17,4 @@ const CheckKebabCase = (varName) => {
return pat.test(varName) && !varName.includes('_')
}
module.exports = CheckKebabCase
export { CheckKebabCase }

View File

@ -17,4 +17,4 @@ const CheckPascalCase = (VarName) => {
return pat.test(VarName)
}
module.exports = CheckPascalCase
export { CheckPascalCase }