Some things that might be helpful to call out in the documentation are...
When the value of a moduleSpecifier is an array (not a singular ImportRule config), rules should be ordered from most specific to least specific, because an import specifier may match multiple patterns - only the first match is taken.
Add a note about multiple import declarations being produced while the importPropsFromSameModule value is set to true (which is the default). This could be fixed in the rule implementation with a little reworking, but I don't think it's a major issue - imports/no-duplicates flags this and can auto-fix these.
Some things that might be helpful to call out in the documentation are...
moduleSpecifier
is an array (not a singularImportRule
config), rules should be ordered from most specific to least specific, because an import specifier may match multiple patterns - only the first match is taken.importPropsFromSameModule
value is set totrue
(which is the default). This could be fixed in the rule implementation with a little reworking, but I don't think it's a major issue -imports/no-duplicates
flags this and can auto-fix these.