chore: fixup linting the api tests
This commit is contained in:
committed by
Stuart Taylor
parent
1faa8dc0c1
commit
58edfce838
@ -42,6 +42,7 @@ export const mockCompletedChallenges = [
|
||||
files: [
|
||||
{
|
||||
contents:
|
||||
// eslint-disable-next-line max-len
|
||||
"function palindrome(str) {\n const clean = str.replace(/[\\W_]/g, '').toLowerCase()\n const revStr = clean.split('').reverse().join('');\n return clean === revStr;\n}\n\n\n\npalindrome(\"eye\");\n",
|
||||
ext: 'js',
|
||||
path: 'index.js',
|
||||
|
Reference in New Issue
Block a user