Fernando Maia
Fernando Maia
I would love to contribute to it too. I have developed a rule enforcing a custom file structure, but it could be easily adjusted.
As it is small, I will post its entire code here. Keep in mind that is was developed for an opinionated file structure (feature-based with layers inside of the features)....
In my case, sometimes I also have a grandparent folder, i.e.: `src/components/base/card/header.js`, where we expect the component to be default exported as `BaseCardHeader`. What changes should I do to accomplish...
@fatfisz @tleunen up
Just for curiosity: why not `!path.isAbsolutePath()`?
Just found where it is coming from: https://github.com/tleunen/babel-plugin-module-resolver/blob/f533cc2b43f867c213d4f7c87bf437a2e2280a4b/src/utils.js#L13 The method `isRelativePath` isn't matching `.`.
Fix suggestions: 1. Replacing custom matcher with `!path.isAbsolutePath()` ([reference](https://github.com/mrjoelkemp/is-relative-path/blob/master/index.js)) 2. Refining the regex to make slash optional This leads me to a question: is there a reason to have a...
Too late I guess :laughing: This is a duplicate of #373, and it will be fixed on #409.
The core rule would have to be applied for entire codebase, or manually applied in `mapStateToProps` special objects. This rule proposal is about being consistent only with `sort-prop-types`, which has...
Okay! I'll wait for more inputs then. I really see a huge advantage in this, the whole ecosystem grows as more and more packages are published with the correct name,...