LGTM Enterprise 1.19.2

Defining a global project configuration

Most administrators find it helpful to define a global project configuration with default settings for all projects. These can then be overridden, where necessary, by individual project configurations. For detailed information about the precedence of different configuration files, see lgtm.yml configuration file in the user help.

To add or edit a global project configuration:

  1. Display the Code analysis administration page.

  2. Scroll down to the Default project configuration section.

    Any existing global project configuration is displayed in the editable text box.

  3. Edit the configuration, or add one, as required, using the YAML serialization language.

    The configuration specified here supports exactly the same options as the lgtm.yml file.

  4. Click Save to save your changes.

How soon do changes take effect?

The changes take effect as follows:

Changes to the global project configuration have no impact on projects that have a configuration defined in the LGTM administration interface, or in an lgtm.yml file stored in the repository. For more details, see Overriding the global project configuration.