LGTM Enterprise 1.26
Configuring LGTM analysis for a project
You can customize how projects are analyzed and how their results are displayed in LGTM by adding an lgtm.yml
file to your repository. Currently, you can use the file to:
- Show or hide the results of specific queries. See Showing/hiding query results.
- Classify files and, using this classification, tell LGTM which files you don't want to see results in. See Customizing file classification.
- Tailor the code extraction process to suit your needs. See Customizing code extraction.
You can also write your own queries to find custom alerts in projects. See Writing custom queries to include in LGTM analysis.
When you've finished configuring analysis for your project, you can enable automated code review for pull requests (for a list of repository host systems for which you can set up automated code review, see About LGTM).
Additionally, if LGTM didn't detect a language in your project, or failed to build the code in that language, you can reattempt analysis in LGTM.
For detailed information about:
- How LGTM analyzes code and displays the results, see LGTM analysis.
- The lgtm.yml file, see lgtm.yml project configuration file.
- How to try (re)adding a language to a project, see Adding a language to a project.
More information
To find out more: