Synchronization with CoffeeLint (CoffeeScript)

CoffeeLint is a parser for the CoffeeScript language. You may use CoffeeScript in embedded mode or else pass your PMD reports to Themis.

Embedded analysis in Themis

Themis uses the configuration file generated by default by CoffeeScript with the following order:

coffeelint --makeconfig > coffeelint.json

It results from it a configuration file at the JSON format that you are free to modify at any one time. This page describes the different options of CoffeeLint (in the Options section).

In the case where you have already a coffeelint.json file (or other) 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 coffeelint.json file present on your repository (true/false): Indicate true to use your configuration file.
  • Relative way of the coffeelint.json file on your repository: Indicate here the relative way on your source code repository of the coffeelint.json configuration file. Example : src/coffeelint.json.

If you activate 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. 

Information and installed versions

Website: http://www.coffeelint.org/

Extensions of the analyzed files: .coffee

Version of Themis Version of CoffeeLint
1.0.4 1.16.0
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.