protip with eslint config
i was getting errors about unresolved dependencies in webstorm when trying to enable eslint. the solution was to specify the eslint package as the one in my projects' node modules and make sure the configuration file was pointing to the eslint.json file also in my projects' directory.
Please sign in to leave a comment.
Please see https://eslint.org/docs/user-guide/getting-started#global-installation-and-usage:
Any plugins or shareable configs that you use must also be installed globally to work with a globally-installed ESLint.
In general, installing ESLint globally is not a recommended practice. see comments in https://github.com/eslint/eslint/issues/1238