I received the JSON response shown below. 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"
}
}
]
}
]
}
}
An ESLint error occurred stating: "error Unexpected dangling '_' in '__typename' no-underscore-dangle"
I visited this link for more information: http://eslint.org/docs/rules/no-underscore-dangle, but I am struggling to resolve this issue.
If anyone knows how to fix this without changing the rules, please share your insight.