Blarc / gitlab-template-lint-plugin

Intellij plugin for linting Gitlab CI/CD yaml templates.
https://plugins.jetbrains.com/plugin/19411-gitlab-template-lint
GNU General Public License v3.0
68 stars 2 forks source link
gitlab gitlab-ci intellij intellij-plugin jetbrains lint yaml
logo

Gitlab Template Lint

Gitlab Template Lint for IntelliJ based IDEs/Android Studio.

Build Status


Description

Gitlab Template Lint Plugin is a plugin for IntelliJ based IDEs/Android studio for linting Gitlab CI/CD yaml configuration files. It uses the Gitlab lint API to check the currently open yaml configuration and shows the errors in the notification bar.

To get started, install the plugin and set Gitlab private token with read_api and api scope in plugin's settings: Settings > Tools > Gitlab Template Lint

Features

Demo

demo.gif

Compatibility

IntelliJ IDEA, PhpStorm, WebStorm, PyCharm, RubyMine, AppCode, CLion, GoLand, DataGrip, Rider, MPS, Android Studio, DataSpell, Code With Me

Install

Or you could install it inside your IDE:

For Windows & Linux: File > Settings > Plugins > Marketplace > Search for "Gitlab Template Lint" > Install Plugin > Restart IntelliJ IDEA

For Mac: IntelliJ IDEA > Preferences > Plugins > Marketplace > Search for "Gitlab Template Lint" > Install Plugin > Restart IntelliJ IDEA

Installation from zip

  1. Download zip from releases
  2. Import to IntelliJ: Settings > Plugins > Cog > Install plugin from disk...
  3. Set Gitlab private token in plugin's settings: Settings > Tools > Gitlab Template Lint

Support

Change log

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

License

Please see LICENSE for details.