A plugin providing static code analysis of Yaml files through integration with Yamllint.
Download and install the plugin through your IDE or through the marketplace.
Install Yamllint according to the documentation and make sure it's in your PATH or as a package in your projects' SDK, such as virtualenv.
After opening a YAML file and if the project is applicable you'll be asked if you want to enable to plugin. If not,
go to Settings > Tools > Yamllint
to configure the plugin.
Open a Yaml file, warnings and errors should be displayed inline according to your settings!
To compile and package the plugin, simply issue the following command:
$ ./gradlew buildPlugin
This will create a zip located in build/distributions/
.
Run the tests as you would in any other gradle project:
$ ./gradlew test
To run the plugin from the command line, the following command can be used:
$ ./gradlew runIde
This will start IntelliJ Community with all necessary plugins loaded. Logs are located at
build/idea-sandbox/system/log/idea.log
.
Use the issue tracker to report bugs or make feature requests.
MIT, see LICENSE file.