Skip to content

Are There Any Recipes Out There?

Kai Koenig edited this page Jul 16, 2017 · 7 revisions

*** Note: deprecated page - this content moves into README with release of CFLint 1.2.0 and will be removed.
*** Please do NOT edit anymore, see @TheRealAgentK for any content changes

Recipes

  1. Filtering out specific message codes in specific folders

  2. To filter out the GLOBAL_VAR messages in the 'some\package\location\' folder, add the following to cflintexclude.json

    Windows
    
    [
    other exclude rules...,
    {"file":".*some\\\\package\\\\location\\\\.*","code":"GLOBAL_VAR"}
    ]
    
    

    Note: The back slashes must be escaped twice, once for JSON, once for regular expressions

    *NIX

    
    [
    other exclude rules...,
    {"file":".*some/package/location/.*","code":"GLOBAL_VAR"}
    ]
    
    

Jenkins Recipes

Coming Soon...