`ignoreUnimported` does not work with relative paths as of 1.20.0
See original GitHub issueWhen using unimported
version 1.20.0, it seems only absolute file paths are supported for the ignoreUnimported
setting. I noticed this when, after updating, I was suddenly getting unimported errors for files that were previously being ignored. Running npx unimported -u
only adds absolute paths to the config file, and changing them to relative paths causes them to stop working.
This is not only a breaking change with previous versions of .unimportedrs.json
, but also causes issues when sharing config across team members.
Tested on Windows 10 with a Meteor project using Meteor version 2.7.1. I’m not sure if this replicates across other types of projects, or if it’s a meteor-specific issue.
Issue Analytics
- State:
- Created a year ago
- Reactions:6
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Relative paths in Python [duplicate] - Stack Overflow
I'm building a simple helper script for work that will copy a couple of template files in our code base to the current...
Read more >"go to definition" can not work on relative import · Issue #44886
VSCode Version: 1.20.0 OS Version: macOS Sierra 10.12.6 Steps to Reproduce: As mentioned above, I have some files in folder auth.
Read more >GetFullPathNameA function (fileapi.h) - Win32 apps
Relative paths passed to the GetFullPathName function are interpreted as relative to the process's current directory. The current directory ...
Read more >2.8.1.1. Use Relative Paths - Intel
Use Relative Paths. Express file paths using relative path notation (../). For example, in the directory structure shown you can specify top.v as...
Read more >Absolute, relative, UNC, and URL paths—ArcMap
Paths are used to browse to data and toolboxes. This topic delves into detail about paths, defining the types, and how ArcGIS manages...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ran again on windows with the update and it’s looking great. Thank you 😄
Ok, I’ve updated the GitHub action to also run test cases on Windows, which indeed failed miserably. Then I added some fixes, and now I have all green flags.