Search code examples
eclipsebowerjshintnodeclipse

Nodeclipse - How to exclude `bower_components` at any path from jshint-eclipse validation


What should be config to exclude any path that has bower_components from jshint-eclipse validation

I tried several, included what said in #64

For example, they use /**/ as path segment wildcard, while we currently use //.

Current .settings/com.eclipsesource.jshint.ui.prefs for Nodeclipse eclipse.preferences.version=1 excluded=//*.json\://bower_components//*\:node_lib//*\:node_modules//* included=//*.jjs\://*.js\://*.jshintrc\://*.mjs\://*.njs\://*.pjs\://*.vjs projectSpecificOptions=true

That is //bower_components//* for exclusion, but I still got libraries under app\bower_components validated by jshint-eclipse.

Also asked as #101


Solution

  • //bower_components//* is enough. just remove previous warning from Problems view.