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

fix: shortest-import rule failed with .env file #88

Merged
merged 2 commits into from
Oct 10, 2023

Conversation

SimeonC
Copy link
Contributor

@SimeonC SimeonC commented Oct 10, 2023

The issue was caused by a .env file at the tsconfig root which resolved to a { '': '...' } in the alias mappings which matched everything.

Had troubling navigating around so cleaned up the code as well, this mainly affected import ... from 'axios' or similar npm level imports.

📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @tablecheck/[email protected]
npm install @tablecheck/[email protected]
npm install @tablecheck/[email protected]
npm install @tablecheck/[email protected]
npm install @tablecheck/[email protected]
npm install @tablecheck/[email protected]
npm install @tablecheck/[email protected]
npm install @tablecheck/[email protected]
# or 
yarn add @tablecheck/[email protected]
yarn add @tablecheck/[email protected]
yarn add @tablecheck/[email protected]
yarn add @tablecheck/[email protected]
yarn add @tablecheck/[email protected]
yarn add @tablecheck/[email protected]
yarn add @tablecheck/[email protected]
yarn add @tablecheck/[email protected]

@SimeonC SimeonC added the patch Increment the patch version when merged label Oct 10, 2023
@github-actions
Copy link

github-actions bot commented Oct 10, 2023

Unit Test Results

  1 files    3 suites   11s ⏱️
73 tests 73 ✔️ 0 💤 0
75 runs  75 ✔️ 0 💤 0

Results for commit 037d360.

♻️ This comment has been updated with latest results.

@SimeonC SimeonC enabled auto-merge (rebase) October 10, 2023 09:31
@SimeonC SimeonC force-pushed the fix-eslint-plugin-rule branch from e3b2610 to 55ccfdc Compare October 10, 2023 09:37
@SimeonC SimeonC added major Increment the major version when merged patch Increment the patch version when merged and removed patch Increment the patch version when merged major Increment the major version when merged labels Oct 10, 2023
daniellizik
daniellizik previously approved these changes Oct 10, 2023
Last version release failed to update the package.json files
@SimeonC SimeonC merged commit 1b858ea into main Oct 10, 2023
5 checks passed
@SimeonC SimeonC deleted the fix-eslint-plugin-rule branch October 10, 2023 13:09
@tablecheck-public-automation tablecheck-public-automation added the released This issue/pull request has been released. label Oct 11, 2023
@tablecheck-public-automation

🚀 PR was released in @tablecheck/[email protected] 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants