Skip to content

Are There Any Recipes Out There?

ryaneberly edited this page Jan 21, 2015 · 7 revisions

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 cfexclude.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"}
    ]