Tooling config file

Edit on GitHub

In order to make the tool configuring more convenient, we introduce the .tooling.yml file. It contains settings for different tools (the Architecture and the Code sniffers are supported at the moment) in one place, helping you to keep the number of files on the root level as small as possible. The .tooling.yml file should also be in .gitattributes to be ignored for tagging:

... export-ignore

Supported tools and directives

Code sniffer

The code sniffer configuration section can have one directive: level. Example:

    level: 1

Architecture sniffer

The architecture sniffer configuration section can have two directives: priority and ignoreErrors. Example:

    priority: 5
        - '#DependencyProvider#'
        - '#DevelopmentCommunicationFactory#'

Note that the keywords listed in the ignoreErrors directive are regular expressions. They are used to match the lines in the error list provided as a result of the architecture sniffer doing its job.