As per the docs, I have configured my project to use the redux devtools.
However, with ES Lint in my project, I get this:
error Unexpected dangling '_' in '__REDUX_DEVTOOLS_EXTENSION_COMPOSE__' no-underscore-dangle
Any pointers on how to fix this?
Sorry, missed the ES Lint part in your docs.
/* eslint-disable no-underscore-dangle */
You could also add "no-underscore-dangle": ["error", { "allow": ["__REDUX_DEVTOOLS_EXTENSION__"] }], to your eslint config.
good :)
For those googling it. The best way is to just use redux-devtools-extension npm package as specified in the README, so no need for using global variable and changing eslint rules.
Most helpful comment
You could also add
"no-underscore-dangle": ["error", { "allow": ["__REDUX_DEVTOOLS_EXTENSION__"] }],to your eslint config.