-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0415be8
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.
Oh that's why this plugin seems to be broken after update (changed root to component folder instead of parent folder).
If someone else wonders, in our react projects we use components in their own folders and each folder have small
package.json
file to help with import. (quick explanation here)0415be8
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.
@Racle Sorry about that.
I always assume people set
g:rooter_patterns
to something which makes sense for them, e.g. omitting the patterns for version control systems they don't use, so I didn't think too much about updating the default. I'll be more reluctant to change the default in future.0415be8
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.
@airblade no worries, this is an easy fix in my case :)
I personally usually go with defaults (as those are usually good as they are) and add those to config only if I need to change settings.
0415be8
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.
Ahhh, I also just ran into this one. Working a lot with monorepos and, after upgrading, the plugin didn't like any of my monorepos and multiple package.json files anymore.
0415be8
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.
@daern91 Sorry!
0415be8
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.
No problems, @airblade. Thanks for the work you do πββοΈ
This was a good reminder for myself to actually read through the docs on the plugins I use, and not just depend on default settings π