Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore TOML for Configuration Format #48

Open
brianwyka opened this issue Feb 21, 2021 · 1 comment
Open

Explore TOML for Configuration Format #48

brianwyka opened this issue Feb 21, 2021 · 1 comment
Labels
configuration Related to configuration definition

Comments

@brianwyka
Copy link
Contributor

brianwyka commented Feb 21, 2021

Example Config

File name: sourcehawk.toml

config-locations = [
    "https://raw.githubusercontent.com/optum/sourcehawk-parent/.sourcehawk/config.toml"
]

[[file-protocols]]
repository-path = "lombok.config"
severity = "ERROR"

[[file-protocols.enforcers]]
enforcer = "STRING_PROPERTY_EQUALS"
name = "config.stopBubbling"
value = true

[[file-protocols.enforcers]]
enforcer = "string-property-equals"
name = "lombok.addLombokGeneratedAnnotation"
value = true

Links

@brianwyka brianwyka self-assigned this Feb 21, 2021
@brianwyka
Copy link
Contributor Author

@ctoestreich, thoughts?

@brianwyka brianwyka added the configuration Related to configuration definition label Feb 21, 2021
@brianwyka brianwyka changed the title Switch to TOML Configuration? Explore TOML for Configuration Format Feb 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration Related to configuration definition
Projects
None yet
Development

No branches or pull requests

1 participant