Config Generator
You can customize your .rulesrc
config file with the Hygie-Config-Generator project.
This SPA allows you to generate this file with a friendly user-interface.
.rulesrc
files
Autocomplete If for some reasons, you have to edit your *.rules
files manually, you can import our JSON Schema that provide autocomplete for all rules and runnables.
Check-out your editor setting to know how to use it.
Visual Studio Code
If you're using Visual Studio Code, you need to install the YAML extension from Red Hat if your config file fit the YAML synthax.
Then, open the settings.json
file and add the following code:
"yaml.schemas": {
"https://zenika-open-source.github.io/hygie/rules-schema.json": "**/*.rulesrc"
},
"json.schemas": [
{
"fileMatch": ["**/*.rulesrc"],
"url": "https://zenika-open-source.github.io/hygie/rules-schema.json"
}