Hi guys, yes, I have this problem with ESLint, and I canβt do it on my own, these stores are separate for each enviroement, as you can see in the screenshot, how can I fix this to make ESLint happy and I will learn new? : (
This is because you need a forked code: http://eslint.org/docs/rules/global-require .
If you do not want to change your code, just add disable comments:
/* eslint-disable global-require */ // your code here /* eslint-enable global-require */
You can disable it in your .eslintrc file.
{ rules: { "global-require": 0 } }