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:
Code analysisadministration page.
Scroll down to the Default project configuration section.
Any existing global project configuration is displayed in the editable text box.
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.
Click Save to save your changes.
How soon do changes take effect?
The changes take effect as follows:
- Showing/hiding queries—updated data served to users immediately.
- File classification changes—updated data served to users immediately.
- Extraction changes—all analysis jobs created after you've saved the changes will use the new configuration.
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.