-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
feat(import-target): Add resolution error reason #264
Conversation
86b6cd7
to
4fd0965
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of small non blocking comments, but in general I like it! Thank you
const platform = os.platform() | ||
exports.isCaseSensitiveFileSystem = | ||
platform === "linux" || platform === "freebsd" || platform === "openbsd" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make this in a different file? I don't think it belongs with the rule tester
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right, renamed to test-helpers
. :)
@@ -8,12 +8,17 @@ const { RuleTester } = require("eslint") | |||
const { FlatRuleTester } = require("eslint/use-at-your-own-risk") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am starting to think we should make these patches for different eslint versions into a package
Fixed test cases (based on #231).
fixes #182