Navigation Menu

Skip to content

Excluding rules

Stephen Matta edited this page Nov 10, 2015 · 1 revision

Use .cflintrc to exclude rules from your project or even specific folders. Place a .cflintrc file in the root of your project or in a subfolder and list the rules to exclude in JSON format like this:

{
  "rules": {
    "var-too-short": 0,
    "var-invalid-name": 0,
    "var-allcaps-name": 0
  }
}
Clone this wiki locally