src/rules/no-duplicates.js
function hasSpecifiers(node) {
  const specifiers = node.specifiers
    .filter(specifier => specifier.type === 'ImportSpecifier')
  return specifiers.length > 0
}
function hasSpecifiers(node) {
  const specifiers = node.specifiers
    .filter(specifier => specifier.type === 'ImportSpecifier')
  return specifiers.length > 0
}
function hasSpecifiers ( node ) { const specifiers = node . specifiers . filter ( specifier => specifier . type === 'ImportSpecifier' ) return specifiers . length > 0 }
Checks whether `node` has any non-default specifiers.
Checks whether node has any non - default specifiers .