Eslint parising error, no NODE_ENV defined in Webstorm

I get error called "ESLint: Parsing error; Using 'babel-preset-react-app' required that you specify NODE_ENV or BABEL_ENV enviroment variables. This is normally fixed when using eslint from command line by running it NODE_ENV=development eslint but I can't find option in webstorm to do that. Is there a way to do it?

1 comment
Comment actions Permalink

There is no way to do this, please follow https://youtrack.jetbrains.com/issue/WEB-54170 for updates

0

Please sign in to leave a comment.