Eslint Rule Parsing Error Unexpected Token