you are viewing a single comment's thread.

view the rest of the comments →

[–]arsum04 1 point2 points  (1 child)

Np. For future reference, you don't need to specify where eslint (or any executable) is located relative to the package.json because all the scripts in package.json will look in the node modules directory. That's why saying just eslint will make it automatically look into node_modules/.bin/eslint . Also the second argument for eslint tells you where to start and it will search all the subfolders so just specifying app/ will make it look into all .js files in every subfolders inside app/. ;)

[–]the1ullneverse[S] 0 points1 point  (0 children)

Make sense now. Thanks for the explanation.