Synchronization with JsHint (JavaScript)

JsHint is a parser for JavaScript code.

Embedded analysis in Themis

To delegate to Themis the analysis of your JavaScript code to JsHint, you should configure first the embedded linters for your source. You have to then add a sub-plugin for JsHint.

Themis use the default configuration of JsHint in a file at the JavaScript format. You have the possibility to edit the content of this file at any one time.

In the case where you have already a .jshintrc file present on your source code repository, you may indicate to Themis to use this configuration. To this end, you have to specify the combination of the 2 following parameters:

  • Use the .jshintrc file present on your repository (true/false): Indicate true to use your configuration file.
  • Relative way of the .jshintrc file on your repository: Indicate here the relative way on your source code repository of the .jshintrc configuration file. Example: src/.jshintrc.

If you active the use of your own configuration file, the "Configuration file" parameter is not taken into account in the analysis. It does not reflect also in no way the content of the configuration file present on your source code repository. 

Informations and installed versions

Website: http://jshint.com/

Extensions of the analyzed files: .js.

Version of Themis Version of JsHint
1.0.4

2.9.4

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.