Skip to content
This repository was archived by the owner on Sep 6, 2018. It is now read-only.

Allow for a metal-soy-critic config file. #9

Closed
mthadley opened this issue Jul 27, 2017 · 4 comments
Closed

Allow for a metal-soy-critic config file. #9

mthadley opened this issue Jul 27, 2017 · 4 comments

Comments

@mthadley
Copy link
Collaborator

We have a few cases where configuration makes sense for metal-soy-critic. One use case is allowing for a custom regex when determining the matching import path for a component having it's render template called.

Let's go with a config file like .soycriticrc or soycritic.config.js. The CLI can recursively look in parent directories for this file, and read it's configuration when one is found.

/cc @jbalsas

@mthadley
Copy link
Collaborator Author

I have some work done on this, I'll try to get something out soon.

@jbalsas
Copy link
Contributor

jbalsas commented Jul 28, 2017

Awesome, @mthadley! No need to rush it ☺️

@mthadley
Copy link
Collaborator Author

@jbalsas See 2.2.0, and the configuration section in the README. Let me know if that solves your use case.

@jbalsas
Copy link
Contributor

jbalsas commented Jul 28, 2017

It seems to fix it, indeed! ☺️

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants