Configuration

You can configure Inspecode by placing rocro.yml at the root of your repository. There are three types of configuration:

Note: .rocro.yml is also supported. rocro.yml is used preferentially if both exist.

Overview of YAML Layout
inspecode:

  # Global configuration
  global:
    input: <string|list>
    ignore: <string|list>
    incremental: <boolean>
    runtime:
      <runtime1>: <string>
      <runtime2>: <string>
      ...
    thresholds:
      complexity: <number>
      num-issues: <number|mapping>

  experimental:
    env:
      <var1>: <string>
      <var2>: <string>
      ...
    cache: <boolean>

  # Configuration for each task
  tasks:
    - <mapping> # for task 1
    - <mapping> # for task 2
    ...

  # Configuration for each tool
  tools:
    <tool1>: <string|mapping>
    <tool2>: <string|mapping>
    ...

results matching ""

    No results matching ""