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

Converted no-relative-import-in-test from TSLint to ESLint #654

Merged
merged 6 commits into from Aug 29, 2023

Conversation

JoshuaKGoldberg
Copy link
Contributor

@JoshuaKGoldberg JoshuaKGoldberg commented Mar 25, 2023

WIP. I can't figure out how to get the types to work in test. Strange, I'd been under the impression they were failing at some point. But it seems like they're working. ✅

Continues #648 by migrating no-relative-import-in-test from TSLint to ESLint.

@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as ready for review May 21, 2023 11:22
@JoshuaKGoldberg JoshuaKGoldberg changed the title [WIP] no-relative-import-in-test Convert no-relative-import-in-test from TSLint to ESLint May 21, 2023
@JoshuaKGoldberg JoshuaKGoldberg changed the title Convert no-relative-import-in-test from TSLint to ESLint Converted no-relative-import-in-test from TSLint to ESLint May 21, 2023
@sandersn
Copy link
Member

I'm going to try to get this up-to-date and matched with a DT fixup today.

@sandersn
Copy link
Member

lodash is the only package with an exclusion for this rule.
However, with the exclusion removed, I can't get the rule to fail. I stuck some logging in and it looks like ImportDeclaration never gets hit. I think I'm unable to test locally with mismatching typescript versions.

I'm going to merge this and ship it, but I need to figure out how to test locally reliably. It may be that dt-tools needs to update to the same version of typescript that DT uses.

@sandersn sandersn merged commit f2a3cbc into microsoft:master Aug 29, 2023
6 checks passed
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