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

Support array of config_files in Hound configuration #1679

Open
robbymarston opened this issue Feb 26, 2019 · 2 comments
Open

Support array of config_files in Hound configuration #1679

robbymarston opened this issue Feb 26, 2019 · 2 comments

Comments

@robbymarston
Copy link

I'm working on a project that uses several different JavaScript frameworks (Vue and React) in different areas of the application. As such, it requires multiple configurations for linters such as sass-lint. This works fine locally as my IDE automatically parses the multiple sass-lint configuration files at the root and in any subdirectories. This seems to be standard practice for plugins with standalone configuration files. Ideally, Hound work 'pick up on' any configuration files with standard naming; but given that that may be difficult to maintain, it should at least support multiple config_paths ala:

sass-lint:
   config_file:
      - sass-lint.yml
      - path/to/another/sass-lint.yml     
@gylaz
Copy link
Member

gylaz commented Feb 26, 2019

@robbymarston Thanks for opening an issue with a potential solution. This is similar to #889. I agree, something needs to be done in this case.

Couple of questions here:

  • Does path/to/another/sass-lint.yml apply to any file that's in path/to/another directory or its children?
  • Does path/to/another/sass-lint.yml need to be merged/combined with sass-lint.yml (or any other config file in between the two dirs) when linting files under path/to/another/*?

@gylaz
Copy link
Member

gylaz commented Feb 26, 2019

Here are some additional thoughts from another related issue: #1210 (comment)

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

No branches or pull requests

2 participants