I have the below JSON response, to validate the __place, i used responseData.search[0].edges[0].node.__place
{
"data": {
"search": [
{
"__place": "SearchResultItemConnection",
"edges": [
{
"cursor": "New",
"node": {
"__place": "Delhi",
"name": "AIIMS"
}
}
]
}
]
}
}
I'm getting the ESLint error stating "error Unexpected dangling '_' in '__typename' no-underscore-dangle"
I went through the link, http://eslint.org/docs/rules/no-underscore-dangle but i'm not able to resolve this.
Could anyone know how to resolve this, instead of changing the rules?