Standard JS

Hi,

 

I'm using PHPStorm and would like to enable StandardJS linting for NodeJS projects.  I have read a number of articles on this including the blog post at https://blog.jetbrains.com/webstorm/2017/04/using-javascript-standard-style/ and readme on the Standard Github page https://github.com/feross/standard/blob/master/docs/webstorm.md.

However each time I try and point to the Standard linter e.g. Projects/standard-test/node_modules/standard I get an error 'Please specify ESLint package correctly: "../bin/eslint.js" file not found' similar to that described in https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000167404--2017-1-1-ESLint-Please-specify-ESLint-package-correctly-bin-eslint-js-file-not-found (but the fixes there don't work for me).

I can point to the eslint local package and it is happy but of course then I am not using Standard.  It seems to me that there is no bin/eslint in the Standard package but there is a eslintrc.json in the root of the package.  Could this be part of the issue?

 

0

Please sign in to leave a comment.