Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

JSLint warning preventing activation of objects

$
0
0

All,

 

I am doing a migration of code from one environment to another via HANA Native transports.  I have models, procedures, xsjs code, etc.

There were some warnings that were detected wish JSLint such as == should be === or object['property'] should be done instead with dot notation... in the development environment JSLint was set up to ignore those issues. When doing the migration, the transport failed activation due to the JSLint syntax validations.

 

How can the JSLint validations can be ignored on the transport. I read on the developer guide that teh JSLint validations can be disabled at the project level which it needs to be done on each developer system as i tested from multiple developer logins and each one had to do it independently. Is there a system wide setting where i could disable it. or is there a bug on the transport that it would check JSLint regardless?

 

the other thing that caught my attention is that in the development environment, the code is activated - there may have been warnings initially but now they are gone after changing jslint. HOwever, on the transport those warnings are showing as errors.

 

this seems like the warnings should be warnings and not necessarily errors on the entire transport.

 

 

 

thanks


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>