src/rules/no-duplicates.js
function hasProblematicComments(node, sourceCode) {
  return (
    hasCommentBefore(node, sourceCode) ||
    hasCommentAfter(node, sourceCode) ||
    hasCommentInsideNonSpecifiers(node, sourceCode)
  )
}
function hasProblematicComments(node, sourceCode) {
  return (
    hasCommentBefore(node, sourceCode) ||
    hasCommentAfter(node, sourceCode) ||
    hasCommentInsideNonSpecifiers(node, sourceCode)
  )
}
function hasProblematicComments ( node , sourceCode ) { return ( hasCommentBefore ( node , sourceCode ) || hasCommentAfter ( node , sourceCode ) || hasCommentInsideNonSpecifiers ( node , sourceCode ) ) }
It's not obvious what the user wants to do with comments associated with duplicate imports, so skip imports with comments when autofixing.
It s not obvious what the user wants to do with comments associated with duplicate imports so skip imports with comments when autofixing .