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

Cache contents of config file #279

Closed
benthemonkey opened this issue Oct 9, 2015 · 1 comment · Fixed by #401
Closed

Cache contents of config file #279

benthemonkey opened this issue Oct 9, 2015 · 1 comment · Fixed by #401

Comments

@benthemonkey
Copy link
Member

Placing a console.log inside config.js shows that we're loading the config from scratch once per rule. We should be loading the config once per invocation of sass-lint.

I'm referring to using sass-lint from the CLI, and specifying a config file. e.g. sass-lint -c .sass-lint.yml

@DanPurdy
Copy link
Member

DanPurdy commented Oct 9, 2015

I actually noticed this while working on the CLI recently and adding some of the extra options. This is definitely something I'd like to address when I overhaul the CLI and add error codes etc.

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

Successfully merging a pull request may close this issue.

2 participants