Reputation:
I'm trying to port my web application to Play, but some of the 3rd party JavaScript files (I put them in app/assets) can't pass the linting without significant changes.
How do I either disable the lint for some files or disable it completely?
Upvotes: 2
Views: 757
Reputation: 590
If you do not want to change app/assets folder structure, you can comment out
addSbtPlugin("com.typesafe.sbt" % "sbt-jshint" % "1.0.3")
this line in plugins.sbt file
Upvotes: 3
Reputation: 8337
If you put those files under ''public'' instead of app/assets/javascripts then they won't be checked. It's a quick and dirty solution but works well.
Upvotes: 4