You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as per https://docs.styra.com/regal#configuration regal looks for .regal/config.yaml
... but I don't really want a whole folder for just 1 file, and rather have another dot-file in the base of the repo as so many other tools do
The text was updated successfully, but these errors were encountered:
I don't really have a strong preference on that, so looking for a .regal.yaml (or whatever we'd want the name to be?) in addition to .regal/config.yaml sounds reasonable to me. The reason we went with a directory is that it allows us to use it for more than configuration. Like how custom linter rules can be placed under .regal/rules and automatically be picked up by the linter. But most users probably don't have custom rules, so providing more options for where to put their configuration would be nice.
The --config-file flag can be used with regal lint for this today, but it's obviously not as ergonomic as a default location. And AFAIR, it doesn't work with the language server.
as per https://docs.styra.com/regal#configuration regal looks for .regal/config.yaml
... but I don't really want a whole folder for just 1 file, and rather have another dot-file in the base of the repo as so many other tools do
The text was updated successfully, but these errors were encountered: