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

Add support for resolving imported classes #42

Merged
merged 2 commits into from
Sep 7, 2018

Conversation

kangax
Copy link
Contributor

@kangax kangax commented Aug 30, 2018

No description provided.

@kangax
Copy link
Contributor Author

kangax commented Aug 30, 2018

@atfzl I might have forgotten about some cases; take a look, let me know.

@@ -25,7 +26,8 @@ function dashesCamelCase (str: string) {
}

export const getFilePath = (context, styleFilePath) => {
const settings = context.settings['css-modules'];

const settings = context.settings && context.settings['css-modules'];
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unrelated to this PR but just makes it fail-safe if settings doesn't exist in .eslintrc config

@atfzl
Copy link
Owner

atfzl commented Sep 7, 2018

@kangax this change is causing issues as discussed in #44

@kangax
Copy link
Contributor Author

kangax commented Sep 7, 2018

@atfzl I'll take a look today and make a new PR

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

Successfully merging this pull request may close these issues.

None yet

2 participants